Just looking for some best-practice recommendation...
# random
s
Just looking for some best-practice recommendations - when doing basic CRUD mutations with long forms in react, what's the preferred way to build out long gql mutations? Is there a good way to just pass through every field from the form/state (dynamically), or should they always be statically crafted?
p
Hey @steveb, unfortunately mutations are a bit verbose in
apollo-client
/
react-apollo
. You can maybe look into using something like this: https://github.com/kumarharsh/graphql-for-vscode
And then there's this lib on awesome-graphql: https://github.com/ejoebstl/graphql-auto-mutation