Makes sense, do you think we can also add this? https://github.com/strawberry-graphql/strawberry/blob/main/strawberry/object_type.py#L152-L153
this should make it work slightly better with pyrightdoes that work out of the box for the pydantic conversion? not familar with how that works but i think the init for the dataclass wouldn't work well because not all the fields are in the class getting decorated.
e.g.
class UserCreate(BaseModel): email: str @strawberry.experimental.pydantic.input(model=UserCreate, all_fields=True) class UserCreateInput: pass # the fields aren't here
if it doesn't and gives false positives i'll settle it in another issue
it only works with fields that are defined, so yeah, let's do it in another issue :)
Originally posted by @patrick91 in #1832 (comment)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too