amplify-android
amplify-android copied to clipboard
feat(api): Add authMode support to lazy loaded models
- [x] PR title and description conform to Pull Request guidelines.
Issue #, if available:
Description of changes: When loading a lazy model/list with an authMode we pass that through and use it to also load the referenced models.
How did you test these changes?
Documentation update required?
- [x] No
- [ ] Yes (Please include a PR link for the documentation update)
General Checklist
- [x] Added Unit Tests
- [ ] Added Integration Tests
- [ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.