You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 10, 2019. It is now read-only.
So I am wondering, is there a way to generate the queries and mutations, and maybe even the types.
Mainly the mutations and queries are all the same.
queries( get 1 type, get all types)
mutations( createType, updateType, deleteType)
For example in a blog, the Article and Comments are quite repetative in creating the same queries and mutations.
Even more idealitair is that of creating a type out of an eloquent model. Just pass an array of models in which you want the default 'crud' operations to be active.
There of course are some cases in which this does not cover the usecase, EG authentication in which you want to write a 'custom' type ,query and mutation.
I hope it already exists, or if someone could explain why this isn't already a feature.
Great respect to all working on this repo, maybe I could help on this feature if it does not already exists.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So I am wondering, is there a way to generate the queries and mutations, and maybe even the types.
Mainly the mutations and queries are all the same.
queries( get 1 type, get all types)
mutations( createType, updateType, deleteType)
For example in a blog, the Article and Comments are quite repetative in creating the same queries and mutations.
Even more idealitair is that of creating a type out of an eloquent model. Just pass an array of models in which you want the default 'crud' operations to be active.
There of course are some cases in which this does not cover the usecase, EG authentication in which you want to write a 'custom' type ,query and mutation.
I hope it already exists, or if someone could explain why this isn't already a feature.
Great respect to all working on this repo, maybe I could help on this feature if it does not already exists.
The text was updated successfully, but these errors were encountered: