Join Slack
Powered by
Hi, I want to implement Query Parameters like Pris...
# orm-help
b
br
09/04/2018, 6:00 AM
Hi, I want to implement Query Parameters like Prisma team recommends:
https://www.prisma.io/blog/designing-powerful-apis-with-graphql-query-parameters-8c44a04658a9/
Am I right in saying that the approach for this is as in the generated datamodel e.g.
https://gist.github.com/gc-codesnippets/3f4178ad93c51d03195c92ce119d444c#file-prisma-graphql-L187
i.e. using Input Types as the query parameter? (e.g.
UserWhereUniqueInput
)
br
09/04/2018, 10:35 AM
@nilan
^ Am I right that this is the way/pattern to go about implementing GraphQL query parameters manually?
3
Views
Open in Slack
Previous
Next