amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

feat: implement API Searchable directive mocking

Open phani-srikar opened this issue 3 years ago • 5 comments

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 test passes
  • [ ] 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.

phani-srikar avatar Aug 12 '22 04:08 phani-srikar

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

lgtm-com[bot] avatar Aug 12 '22 04:08 lgtm-com[bot]

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

lgtm-com[bot] avatar Aug 27 '22 02:08 lgtm-com[bot]

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

lgtm-com[bot] avatar Aug 27 '22 23:08 lgtm-com[bot]

@phani-srikar are you still working on this?

danielleadams avatar Aug 30 '22 15:08 danielleadams

@phani-srikar are you still working on this?

Yes

phani-srikar avatar Aug 31 '22 00:08 phani-srikar

closing in favor of https://github.com/aws-amplify/amplify-cli/pull/11089

phani-srikar avatar Sep 30 '22 23:09 phani-srikar