Based on Discord discussion here: https://discord.com/channels/689806334337482765/1225406859926704188
Basically I have a type which derives from another. I want to exclude a field in my derived type. Marking as strawberry.Private in the derived class doesn't do anything.
@strawberry.type
class Foo:
value: int = strawberry.field(description="foo")
@strawberry.type
class Bar(Foo):
value: strawberry.Private[int]
I would expect the value
field not to be exposed on type Bar
in the schema.
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