Skip to content

Instantly share code, notes, and snippets.

@lastmjs
Created March 12, 2018 22:08
Show Gist options
  • Save lastmjs/e01cb5094e480159f52af5fd108b05d2 to your computer and use it in GitHub Desktop.
Save lastmjs/e01cb5094e480159f52af5fd108b05d2 to your computer and use it in GitHub Desktop.

Revisions

  1. lastmjs created this gist Mar 12, 2018.
    3 changes: 3 additions & 0 deletions directives.graphql
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    directive @userOwns(field: String) on FIELD | FIELD_DEFINITION
    directive @authenticated on FIELD | FIELD_DEFINITION
    directive @private on FIELD | FIELD_DEFINITION