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

feat(introspection): add metadata for custom GraphQL operations #771

Merged
merged 3 commits into from
Dec 27, 2023

Conversation

AaronZyLee
Copy link
Contributor

@AaronZyLee AaronZyLee commented Dec 13, 2023

Description of changes

Added support for custom queries/mutations/subscriptions in the generated model introspection schema. The metadata contains field name, field type and arguments.

Codegen Paramaters Changed or Added

Issue #, if available

Description of how you validated changes

Unit & e2e tests
amplify-dev codegen model-introspection --output-dir .

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • Breaking changes to existing customers are released behind a feature flag or major version update
  • Changes are tested using sample applications for all relevant platforms (iOS/android/flutter/Javascript) that use the feature added/modified
  • Changes are tested on windows. Some Node functions (such as path) behave differently on windows.

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

@AaronZyLee AaronZyLee requested a review from a team as a code owner December 13, 2023 20:18
@AaronZyLee AaronZyLee marked this pull request as draft December 13, 2023 20:18
@AaronZyLee AaronZyLee marked this pull request as ready for review December 15, 2023 17:27
@AaronZyLee AaronZyLee requested a review from a team as a code owner December 15, 2023 17:27
@AaronZyLee AaronZyLee merged commit 98b4243 into main Dec 27, 2023
5 checks passed
@AaronZyLee AaronZyLee deleted the feature/custom-gql-operation branch December 27, 2023 19:59
@phani-srikar phani-srikar mentioned this pull request Jan 26, 2024
7 tasks
dpilch added a commit that referenced this pull request Apr 1, 2024
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