HotChocolate with Postgres: how to map NpgsqlRange type? #5892
-
I have models with properties of type HotChocolate.SchemaException: 'For more details look at the
For now I've created graphql model types, where these properties are ignored. But this cannot last forever. |
Beta Was this translation helpful? Give feedback.
Answered by
PascalSenn
Feb 28, 2023
Replies: 1 comment 3 replies
-
@Arsync the easiest thing is to define a |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Arsync
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Arsync the easiest thing is to define a
ObjectType<NpgsqlRange<LocalDate!>>
andObjectType<NpgsqlRange<Instant!>>
and register them on the schema.