You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Right now the only way of achieving this is to remove the field from Bar.__strawberry_definition__.fields before the Schema is created. That was suggested in the Discord discussion.
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.
I would expect the
value
field not to be exposed on typeBar
in the schema.Upvote & Fund
The text was updated successfully, but these errors were encountered: