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 1899a30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions graphqldb/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ 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 1899a30

Please sign in to comment.