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: Update GraphQL configuration shape to expect AI routes #13799

Merged
merged 4 commits into from
Sep 12, 2024

Conversation

cshfang
Copy link
Member

@cshfang cshfang commented Sep 11, 2024

Description of changes

With the release of @aws-amplify/data-schema@1.5, the ModelIntrospectionSchema has been updated to allow for two new optional properties. However, this is not reflected in the ModelIntrospectionSchema type which lives in the Amplify singleton.

This PR updates the type in the Amplify singleton to align

Issue #, if available

Description of how you validated changes

yarn clean && yarn && yarn build && yarn test

Checklist

  • PR description included
  • yarn test passes
  • Unit Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

Checklist for repo maintainers

  • Verify E2E tests for existing workflows are working as expected or add E2E tests for newly added workflows
  • New source file paths included in this PR have been added to CODEOWNERS, if appropriate

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

iartemiev
iartemiev previously approved these changes Sep 11, 2024
@iartemiev
Copy link
Member

@cshfang let's also bump the data-schema package version to 1.5 here for good measure.

jimblanc
jimblanc previously approved these changes Sep 11, 2024
@cshfang cshfang dismissed stale reviews from jimblanc and iartemiev via 9154664 September 11, 2024 18:32
@cshfang cshfang requested a review from a team as a code owner September 11, 2024 18:32
jimblanc
jimblanc previously approved these changes Sep 11, 2024
HuiSF
HuiSF previously approved these changes Sep 11, 2024
@cshfang cshfang dismissed stale reviews from HuiSF and jimblanc via 5933075 September 11, 2024 18:59
@cshfang cshfang requested a review from a team as a code owner September 11, 2024 18:59
@cshfang cshfang merged commit e2e3482 into aws-amplify:main Sep 12, 2024
30 checks passed
@cshfang cshfang deleted the chore/update-api-type branch September 12, 2024 18:00
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.

4 participants