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

fix: move importedModels key up to defineData #13943

Open
wants to merge 1 commit into
base: migrations
Choose a base branch
from

Conversation

dpilch
Copy link
Member

@dpilch dpilch commented Sep 26, 2024

Description of changes

fix: move importedModels key up to defineData. It should be like the following (not nested under importedAmplifyDynamoDBTableMap).

export const data = defineData({
  importedAmplifyDynamoDBTableMap: { Todo: "my-todo-mapping" },
  importedModels: ["Todo"],
  schema: "TODO: Add your existing graphql schema here"
});

Issue #, if available

N/A

Description of how you validated changes

Add new unit test.

Checklist

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

@dpilch dpilch requested a review from a team as a code owner September 26, 2024 19:15
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