We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fff66ae commit 956be94Copy full SHA for 956be94
graphqldb/adapter.py
@@ -21,6 +21,7 @@
21
Integer,
22
ISODate,
23
ISODateTime,
24
+ ISOTime,
25
String,
26
)
27
from shillelagh.typing import RequestedOrder
@@ -77,6 +78,9 @@ def parse_gql_type(type_info: TypeInfo) -> Field:
77
78
elif name == "Date":
79
# https://www.graphql-scalars.dev/docs/scalars/date
80
return ISODate()
81
+ elif name == "Time":
82
+ # https://www.graphql-scalars.dev/docs/scalars/time
83
+ return ISOTime()
84
else:
85
# TODO(cancan101): how do we want to handle other scalars?
86
raise ValueError(f"Unknown type: {name}")
0 commit comments