-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Regarding support for list/arrays in RESTified endpoints, looking at the documentation we have:
- "JSON Body Object values are passed directly to the associated query with no additional validation or type-coersion." (https://hasura.io/docs/latest/graphql/core/api-reference/restified.html)
- "POST is permitted in order to support non-primitive variable types" (https://github.com/hasura/graphql-engine/blob/master/rfcs/rest-endpoints.md).
This leads me to believe I can use input type lists to REST queries as long as I make it a POST request. However I also read this: - Parsing for nullable types and list types is not supported, but may be added in a future version of this document.
Trying it myself I could not get non-primitive types to work. I'm pretty sure they don't. Would it be posible to get some clarification on this?
This is related to #6911.
Many thanks!
jesse-savary, ccalvarez, travisroyal, droserasprout and creatorrr
Metadata
Metadata
Assignees
Labels
No labels