amplify-android
amplify-android copied to clipboard
test(DataStore): Update schemas for use 'sub' as default identity claim feature
Issue #, if available:
Description of changes:
The change in CLI tagged release @aws-amplify/[email protected] will provision backends and codegen the default identity claim as sub
, previously cognito:username
.
This PR is running automated tests related to the usage of @auth with default owner field in the schema.
The code generated model files contains the explicit identityClaim key, which has been updated from cognito:username
to sub
(see model schema file changes in this PR).
- [ ] Tests that were in place with regards to these schemas were tested.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.