Patrick Arminio
Patrick Arminio
@andrewkruse I think you found a bug, this should work: ```python from __future__ import annotations # NOTE: this import strawberry def get_full_name(user: strawberry.Parent[User]) -> str: return f"{user.first_name} {user.last_name}" @strawberry.type class...
@ShtykovaAA you can do that using `UNSET`: https://play.strawberry.rocks/?gist=a70bc1aa74d5d04a6ceea1be6a7b7575 https://strawberry.rocks/docs/types/input-types#defining-input-types
@ShtykovaAA cab you make an example in the playground? I think pydantic should work there βΊοΈ
@ShtykovaAA thanks for checking! I might have some time to fix this during the weekend, or feel free to send a PR if you find a way to fix it!
@ShtykovaAA I'm not too sure! Feel free to try and send a draft PR, we should have enough test to make sure this becomes a valid change π
@ShtykovaAA can you link the PR here? π
Let's keep working in #3408 π
also, I'm not sure this is best approach for us, I'll think about it in the next few days
so far I've added a `out_type` on the GraphQL input which seems to be the best place to check for one of. But I'm not sure on the check π€...
spec is here: https://github.com/graphql/graphql-spec/pull/825