v3: Enum type support #10588
Labels
c/v3-engine
V3 Metadata and Engine
c/v3-ndc-postgres
Data connector for PostgreSQL
engine
k/enhancement
New feature or improve an existing feature
Component
Is your proposal related to a problem?
If I have a table in my database that represents a fixed enumeration of values, and I use that as a way to constrain the values of a column in a table to match a value from that fixed enumeration, I want my API to also expose this fixed enumeration to API clients so they know what valid values they can expect to receive/send.
Describe the solution you'd like
In Hasura v2, we supported reading the contents of a Postgres table and generating a GraphQL enum type from it. This type was then used as the type for any columns that foreign-key referenced that table in my GraphQL API.
I'd like a similar solution in Hasura DDN.
The text was updated successfully, but these errors were encountered: