Replies: 5 comments 2 replies
-
Hi, Other use cases concern the directives available in Hasura. You'll find again the But also many more, such as |
Beta Was this translation helpful? Give feedback.
-
Concrete dgraph usecase:
We have an api for movie screenings, and some of them have Adding the
if you want to be real specific. This will omit any result that have a null value for |
Beta Was this translation helpful? Give feedback.
-
I might be reading the introspection query from dgraph wrong, but there seems to be two directives related to queries:
dgraphs own docs on both of them: |
Beta Was this translation helpful? Give feedback.
-
https://graphql.org/blog/2020-12-08-improving-latency-with-defer-and-stream-directives/ seems to be an upcoming specification. The tricky bit here is that this would quite drastically change how the networking works, so would also need to be integrated into the client part of elm-graphql, not just codegen. |
Beta Was this translation helpful? Give feedback.
-
A use case I've recently come across is localization directives available via Shopify's storefront API. They offer an Examples: Localized Pricing
Translatable Resources
|
Beta Was this translation helpful? Give feedback.
-
elm-graphql
lacks the ability the create GraphQL request with directives at that time.One use case is to be able to perform request with directives such as those available in Dgraph (support native GraphQL request) :
Beta Was this translation helpful? Give feedback.
All reactions