Skip to content

Commit

Permalink
Support IRI type.
Browse files Browse the repository at this point in the history
  • Loading branch information
cancan101 committed May 5, 2024
1 parent d1ea7c0 commit bf7214a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions graphqldb/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ def parse_gql_type(type_info: TypeInfo) -> Field:
# TODO(cancan101): figure out if we want to map this to UUID, int, etc
# This should probably be an API-level setting
return String()
elif name == "IRI":
# TODO(cancan101): figure out if we want to map this to Python native type, string, etc
# This should probably be an API-level setting
return String()
elif name == "Int":
return Integer()
elif name == "Float":
Expand Down

0 comments on commit bf7214a

Please sign in to comment.