@aws-amplify/graphql-index-transformer

Amplify GraphQL index and key transformers

Usage no npm install needed!

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

README

GraphQL @primaryKey Transformer

Reference Documentation

@primaryKey

The @primaryKey directive allows you to define the primary key for your relational data.

Definition

directive @primaryKey(sortKeyFields: [String]) on FIELD_DEFINITION