strawberry-sqlalchemy
strawberry-sqlalchemy copied to clipboard
Input type?
Hello,
I was wondering if there's a way to map to an input type?
In Strawberry, you could just do:
@strawberry.type
class User:
username: str
@strawberry.input
class UserInput(User):
pass
But doing that with this library doesn't make strawberry recognize it as an input
@_strawberryMapper.type(schema.User)
class User:
pass
@strawberry.input
class UserInput(User):
pass
_strawberryMapper.finalize()
Error:
25 TypeError: UserInput fields cannot be resolved. Input field type must be a GraphQL input type.
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.