Replies: 2 comments 2 replies
-
Hi!
I need to see how |
Beta Was this translation helpful? Give feedback.
-
But it seems that graphql-core is not applying out names to default values. We could do this ourselves on Ariadne side, but that would be done via schema mutation, and default value would then print using |
Beta Was this translation helpful? Give feedback.
-
I used to use the
@convert_kwargs_to_snake_case
, which is now marked as deprecated. Instead, it is suggested to use theconvert_schema_names
parameter inmake_executable_schema
(I think theconvert_names_case
parameter was meant).Here is the code for creating the schema:
However, problems arise when I use a nested input type, for example like this:
For this query, I have the following resolver:
But in this case, I get the following output:
{'user_id': None, 'limit': None, 'offset': None, 'order_by': {'dateOfCreation': 'desc'}}
This suggests that nested arguments were not converted.
I wanted to create an issue about this, but I hesitated whether I use the option correctly, maybe I need to add something else?
ariadne 0.19.1
Beta Was this translation helpful? Give feedback.
All reactions