JSPM

@aws-amplify/graphql-relational-transformer

3.1.11
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 76685
  • Score
    100M100P100Q172062F
  • License Apache-2.0

Amplify GraphQL relational modeling transformers

Package Exports

  • @aws-amplify/graphql-relational-transformer
  • @aws-amplify/graphql-relational-transformer/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aws-amplify/graphql-relational-transformer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

GraphQL Relational Modeling Transformers

Reference Documentation

@hasOne

The @hasOne directive allows you to define "has one" relationships between data.

Definition

directive @hasOne(fields: [String!]) on FIELD_DEFINITION

@hasMany

The @hasMany directive allows you to define "has many" relationships between data.

Definition

directive @hasMany(indexName: String, fields: [String!], limit: Int = 100) on FIELD_DEFINITION

@belongsTo

The @belongsTo directive allows you to define "belongs to" relationships between data.

Definition

directive @belongsTo(fields: [String!]) on FIELD_DEFINITION

@manyToMany

The @manyToMany directive allows you to define "many to many" relationships between data.

Definition

directive @manyToMany(relationName: String!, limit: Int = 100) on FIELD_DEFINITION