Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Typescript] Separate out interfaces to queries and mutations #241

Open
Aryk opened this issue Jun 5, 2020 · 1 comment
Open

[Typescript] Separate out interfaces to queries and mutations #241

Aryk opened this issue Jun 5, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Aryk
Copy link
Contributor

Aryk commented Jun 5, 2020

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.

@chrisdrackett chrisdrackett added the help wanted Extra attention is needed label Jun 5, 2020
@Aryk
Copy link
Contributor Author

Aryk commented Nov 14, 2020

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

@Aryk Aryk changed the title Separate out interfaces to queries and mutations [Typescript] Separate out interfaces to queries and mutations Nov 14, 2020
@Benz19 Benz19 added the enhancement New feature or request label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants