Skip to content

Commit 2f2cf5a

Browse files
committed
Support IRI type.
1 parent ce446fc commit 2f2cf5a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

graphqldb/adapter.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ def parse_gql_type(type_info: TypeInfo) -> Field:
6868
# TODO(cancan101): figure out if we want to map this to UUID, int, etc
6969
# This should probably be an API-level setting
7070
return String()
71+
elif name == "IRI":
72+
# TODO(cancan101): figure out if we want to map this to Python native type, string, etc
73+
# This should probably be an API-level setting
74+
return String()
7175
elif name == "Int":
7276
return Integer()
7377
elif name == "Float":

0 commit comments

Comments
 (0)