You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python variables are usually named using the snake_case, whereas majority of JS written today uses the camelCase. Ariadne will need to provide a way to resolve one to another.
The idea is to create resolver_for function taking single name argument and returning resolver for specified attr/key name, enabling explicit mapping as such:
Python variables are usually named using the
snake_case
, whereas majority of JS written today uses thecamelCase
. Ariadne will need to provide a way to resolve one to another.The idea is to create
resolver_for
function taking singlename
argument and returning resolver for specified attr/key name, enabling explicit mapping as such:Other advantage of having such utility would be arbitrary field names:
The text was updated successfully, but these errors were encountered: