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

chore: generate empty types so v6 js types work #737

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

alharris-at
Copy link
Contributor

@alharris-at alharris-at commented Oct 5, 2023

Description of changes

With the v6 JS library, we now add metadata to queries which reference generated types.

I'm not sure I like this approach, since it generates unnecessary types (instead of just inlining an empty object in the mutations/subscriptions/queries files).

Issue #, if available

#736

Description of how you validated changes

Unit tests, need to validate in a test app, and run e2e's.

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • Changes are tested using sample applications for all relevant platforms (iOS/android/flutter/Javascript) that use the feature added/modified

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@alharris-at alharris-at requested a review from a team as a code owner October 5, 2023 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants