In my project I have resolvers that should be acessible if at least one of multiple conditions is met -- aka "OR".
I'm currently implementing it in a single permission class, but it would be ideal if I could combine them. A few examples:
@strawberry.type
class Mutation:
@strawberry.mutation(permission=Permissions.SuperAdmin | Permission.ObjectOwner)
def update_object(self, object_id: ID, changes: Something) -> MutationResult:
...
@strawberry.type
class ParentChildRelationship:
@strawberry.field(permission=Permissions.IsParent | Permissions.IsChild)
def relationship_details(self) -> Something:
...
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