Skip to content

HotChocolate with Postgres: how to map NpgsqlRange type? #5892

Answered by PascalSenn
Arsync asked this question in Q&A
Discussion options

You must be logged in to vote

@Arsync the easiest thing is to define a ObjectType<NpgsqlRange<LocalDate!>> and ObjectType<NpgsqlRange<Instant!>> and register them on the schema.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Arsync
Comment options

@PascalSenn
Comment options

@Arsync
Comment options

Answer selected by Arsync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants