Skip to content

Commit

Permalink
docs(create-source-plugin.md): fix sentence (#11677)
Browse files Browse the repository at this point in the history
  • Loading branch information
machour authored and pieh committed Feb 10, 2019
1 parent bb2ea98 commit 059ffaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/create-source-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ _Examples_

An example of a foreign-key relationship would be a Post that has an Author.

In this relationship, each object is a distinct entity that exists whether or not the other does, with independent schemas, and field(s) on each entity that reference the other entity -- in this case the Post would have an Author, and the Author might have Posts. The API of a service that allows complex object modelling, for example a CMS, will often allow users to relationships between entities and expose them through the API.
In this relationship, each object is a distinct entity that exists whether or not the other does, with independent schemas, and field(s) on each entity that reference the other entity -- in this case the Post would have an Author, and the Author might have Posts. The API of a service that allows complex object modelling, for example a CMS, will often allow users to add relationships between entities and expose them through the API.

When an object node is deleted, Gatsby _does not_ delete any referenced entities. When using foreign-key references, it's a source plugin's responsibility to clean up any dangling entity references.

Expand Down

0 comments on commit 059ffaa

Please sign in to comment.