ember-apollo-client icon indicating copy to clipboard operation
ember-apollo-client copied to clipboard

Feature: Query Blueprints

Open alexlafroscia opened this issue 7 years ago • 4 comments

Would you be interested in a PR that added blueprints for queries, fragments and mutations? I would love to add this feature but want to make sure it would be welcome first!

alexlafroscia avatar Jul 11 '18 17:07 alexlafroscia

I'm curious about what you mean by query blueprints? I didn't find anything concrete about it.

josemarluedke avatar Jul 11 '18 17:07 josemarluedke

Ember blueprints for the different types of .graphql files that this addon supports

Basically, allowing the user to run

ember g query get-people

to generate the app/gql/queries/get-people.graphql file. Same for fragment and mutation.

alexlafroscia avatar Jul 11 '18 20:07 alexlafroscia

@alexlafroscia Okay, I see now. Thanks for the clarification.

josemarluedke avatar Jul 11 '18 20:07 josemarluedke

👍

We just need to pay attention to the Module Unification RFC.

viniciussbs avatar Jul 12 '18 15:07 viniciussbs