Open rtpascual opened 2 weeks ago
Latest commit: 5b136f6cb9e528a49a5da9ef57440f0ddfb1f42e
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Problem
Issue number, if available:
Changes
Introduces
defineStack
for passing backend resources into (auth, data, etc.) and updateDefineBackendProps
to only take in backend stacks fromdefineStack
. These changes would be part of the next major version, intermediate changes are in https://github.com/aws-amplify/amplify-backend/pull/2157.The code using this solution looks like this:
Corresponding docs PR, if applicable:
Validation
Checklist
run-e2e
label set.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.