Using empty input object value
herohyohwan opened this issue · comments
Hello,
I am a new user.
This issue may be a duplicate issue.
In Graphql Voyager, if you click the root type when there is an empty input type in the schema, an error occurs.
type Query{
pizzas(filter: pizzaFilter = {}): Pizza
}
type Pizza{
name:String
}
input pizzaFilter {
name: String
next: Int
total: Int
}
Probably because of this. (pizzaFilter = {})
This error does not happen when empty input object is not the default.
type Query{
pizzas(filter: pizzaFilter): Pizza
}
type Pizza{
name:String
}
input pizzaFilter {
name: String
next: Int
total: Int
}