You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that the domain is already registered as a scalar so it fails and I don't know how to deregister a scalar (or prevent it to get registered).
You shouldn't be using the finalize hook for this, it's way too late - that's the final step when the schema is built. Instead use the init hook, and have it run before PgCodecsPlugin:
Feature description
V4 has the feature to use table enums in functions via domain, I think we should port it to V5 too. I'm just not sure how to do it in V5 (possibly via build.setGraphQLTypeForPgCodec).
Motivating example
Same motivation as for the feature in V4, allowing to have nice GraphQL enums in function parameter / return types.
Breaking changes
not breaking as far as I know
Supporting development
I [tick all that apply]:
The text was updated successfully, but these errors were encountered: