strawberry icon indicating copy to clipboard operation
strawberry copied to clipboard

Allow `strawberry.auto | None` in Pydantic

Open patrick91 opened this issue 1 year ago • 0 comments

class User(pydantic.BaseModel):
    age: int
     password: Optional[str]

@strawberry.experimental.pydantic.type(User)
class UserType:
    age: strawberry.auto | None

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.
Fund with Polar

patrick91 avatar Apr 03 '24 18:04 patrick91