Skip to content

Commit 1899a30

Browse files
committed
Support IRI type.
1 parent d1ea7c0 commit 1899a30

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

graphqldb/adapter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ 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
73+
# native type, string, etc.
74+
# This should probably be an API-level setting
75+
return String()
7176
elif name == "Int":
7277
return Integer()
7378
elif name == "Float":

0 commit comments

Comments
 (0)