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

Future-proofing generated types #212

Open
rafalp opened this issue Sep 12, 2023 · 0 comments
Open

Future-proofing generated types #212

rafalp opened this issue Sep 12, 2023 · 0 comments
Labels
decision needed decision needed Sounds like good idea, but will need closer scrutiny for final decision.

Comments

@rafalp
Copy link
Contributor

rafalp commented Sep 12, 2023

One of our teams at Mirumee would like to future-proof their generated client.

They already know how the GraphQL API they are integrating with will change in future and would like the generated client to already target the future API, but include the backwards compat layer.

Initial idea for solving this would be implementing a plugin that adds mapping in generated client methods from current objects reps to old ones, but this requires further study before we can make a decision about implementing something in codegen/plugin or just offering a general recommendation.

@rafalp rafalp added the decision needed decision needed Sounds like good idea, but will need closer scrutiny for final decision. label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
decision needed decision needed Sounds like good idea, but will need closer scrutiny for final decision.
Projects
None yet
Development

No branches or pull requests

1 participant