Closed
Description
Considering this schema:
type Query {
search(filters: SearchFilters = { pageSize: 20 }): [Result!]!
}
input SearchFilters {
pageSize: Int!
}
type Result {
id: ID!
}
Where pageSize
's out_name
is page_size
, when no custom pageSize
value is included in query, the resolver is called with {"pageSize": 20}
kwarg, resulting in Python error in query execution.
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]`out_name` is not respected for default arguments[/-][+]`out_name` is not respected for input objects used as default argument value[/+]Transform input objects used as default values (#206)
Transform input objects used as default values (#206)
Cito commentedon Jan 26, 2025
Sorry for the late response. This is now fixed in 651ca5c and will be released soon.
Cito commentedon Jan 26, 2025
The fix is now available in v3.3.0a7 and v3.2.6.