hasura / hasura/graphql-engine
support: support request/response transform for input validation
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Is your proposal related to a problem?
Currently, in [input validation for Postgres](https://hasura.io/docs/latest/schema/postgres/input-validations/), there is no option to define request/response transform as such in Hasura actions.
The need for it is to set a format of request payload/headers and then the user can use their existing API rather than creating a new one for input validation.
### Describe the solution you'd like
Just as Hasura actions has [Type transforms](https://hasura.io/docs/latest/actions/rest-connectors/#action-transform-types), there can be equivalent for Input validation feature.
This involves the option to set custom request method, request body transform, request URL and response transform as well.
Contributor guide
Assessment
This issue has not been assessed yet.