Skip to content

Commit

Permalink
Merge pull request #110 from facebook/moreargs
Browse files Browse the repository at this point in the history
[RFC] Implementations of interfaces can include additional field args
  • Loading branch information
leebyron committed Oct 22, 2015
2 parents c5b4b38 + 5741ea7 commit 570e1ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,12 @@ of rules must be adhered to by every Object type in a GraphQL schema.
defined in an interface.
1. The object field must be of a type which is equal to the
interface field (invariant).
2. The object field must include the exact same set of named arguments as
defined by the interface field.
2. The object field must include an argument of the same name for every
argument defined in the interface field.
1. The object field argument must accept the same type (invariant) as
the interface field argument.
3. The object field may include additional arguments not defined in the
interface field, but any additional argument must not be required.


### Interfaces
Expand Down

0 comments on commit 570e1ee

Please sign in to comment.