mst-gql icon indicating copy to clipboard operation
mst-gql copied to clipboard

[Typescript] Separate out interfaces to queries and mutations

Open Aryk opened this issue 5 years ago • 1 comments

Any chance we can create typescript interfaces for the inputs into the queries? Right now, they are just hardcoded in and not reusable...If I want to pass in variables into a component that will make its way into a query or mutation, I have to write out the types again manually. Would be great if I can import the interface to the queries.

Aryk avatar Jun 05 '20 14:06 Aryk

Keep bumping up into this, any other TS users in MST-GQL want to take a stab at this? 😄

Aryk avatar Nov 14 '20 17:11 Aryk