Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/graphql-relational-transformer

Package Overview
Dependencies
Maintainers
7
Versions
424
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/graphql-relational-transformer

Amplify GraphQL relational modeling transformers

  • 0.4.0-ext5.0
  • ext5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23K
decreased by-50.17%
Maintainers
7
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 22 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc