feat: implement API Searchable directive mocking
Description of changes
This PR adds support for mocking the behavior of @searchable GraphQL directive by using a local instance of OpenSearch so that the developers can locally index the records and run search queries on the @model GraphQL types.
Issue #, if available
Description of how you validated changes
Checklist
- [x] PR description included
- [x]
yarn testpasses - [ ] Tests are changed or added
- [ ] Relevant documentation is changed or added (and PR referenced)
- [ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
This pull request introduces 3 alerts when merging 15c19c62af47453caa273692ce82b3030df90521 into 7c08e09502a882cfc927ef110d80264d862318d5 - view on LGTM.com
new alerts:
- 2 for Unused variable, import, function or class
- 1 for Unused local variable
This pull request introduces 1 alert and fixes 1 when merging 6a167d8be5482ee6f2485fe0a91d0d91e756dae0 into 461122c26cf5e477b47e5bc8de43d7a49a917ebd - view on LGTM.com
new alerts:
- 1 for Unused local variable
fixed alerts:
- 1 for Unused variable, import, function or class
This pull request introduces 1 alert and fixes 1 when merging c77a92f653832685d6957b8d86c50459a6988fa4 into 461122c26cf5e477b47e5bc8de43d7a49a917ebd - view on LGTM.com
new alerts:
- 1 for Unused local variable
fixed alerts:
- 1 for Unused variable, import, function or class
@phani-srikar are you still working on this?
@phani-srikar are you still working on this?
Yes
closing in favor of https://github.com/aws-amplify/amplify-cli/pull/11089