@aws-amplify/graphql-searchable-transformer

Amplfy GraphQL @searchable transformer

Usage no npm install needed!

<script type="module">
  import awsAmplifyGraphqlSearchableTransformer from 'https://cdn.skypack.dev/@aws-amplify/graphql-searchable-transformer';
</script>

README

GraphQL @searchable Transformer

Reference Documentation

@searchable

The @searchable directive handles streaming the data of an @model object type and configures search resolvers that search that information.

Definition

# Streams data from dynamodb into opensearch and exposes search capabilities.
directive @searchable(queries: SearchableQueryMap) on OBJECT
input SearchableQueryMap {
  search: String
}