Skip to content

[RFC] Implementations of interfaces can include additional field args #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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