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
Alteration (enhancement/optimization) of existing feature(s)
New behavior
Description
Since GraphQL commonly using name "input" for mutation, and "input" is bultin function in python. It will be better if we could find a way to use "alias" and also fit both Python and GraphQL naming convention.
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
maacck
changed the title
Allow alias for
Allow alias for Resolver Functions' Param
Aug 11, 2023
Aha, Thanks you @patrick91 . It works now.
I actually have tried to use strawberry.arugment before, but somehow it didn't work. And this should definitely be documented
Provide "alias" ability to resolver functions' param.
Something like FastAPI
Feature Request Type
Description
Since GraphQL commonly using name "input" for mutation, and "input" is bultin function in python. It will be better if we could find a way to use "alias" and also fit both Python and GraphQL naming convention.
Upvote & Fund
The text was updated successfully, but these errors were encountered: