Closed
Description
I have a question about the following clause in the draft spec (under 3.1.2.3).
The object field may include additional arguments not defined in the interface field, but any additional argument must not be required.
http://facebook.github.io/graphql/draft/#sec-Object-type-validation
What is the expected behavior of additional arguments that have a default value? For example:
interface Namer {
name: String!
}
type User implements Namer {
id: ID!
name(type: NameType = FULL): String!
email: String!
}
enum NameType {
FULL
FIRST
LAST
}
In this example, does User
implement Namer
?
Metadata
Metadata
Assignees
Labels
No labels