strawberry icon indicating copy to clipboard operation
strawberry copied to clipboard

A GraphQL library for Python that leverages type annotations 🍓

Results 331 strawberry issues
Sort by recently updated
recently updated
newest added

I run into this problem again and again and it is always annoying to fix it ## Feature Request Type - [x] Core functionality - [x] Alteration (enhancement/optimization) of existing...

Currently, permissions are provided as a list of `BasePermission` instances, treated implicitly as ANDs. It would be grand to instead be able to use AND and OR operators when passing...

[As suggested here](https://github.com/strawberry-graphql/strawberry/issues/1294) we should allow to have code blocks that can run as is, to make it easier to check them we should have github action that runs them....

Currently permission classes seem to be geared towards a RBAC authorization scheme. The permission classes defined for a resolver are run before the result of the resolver is available, i.e....

I have added some basic information to the deployment page discussing how to disable `GraphiQL` and `Introspection`, and how to limit query depth. But it could do with fleshing out...

documentation

Pretty much the title, when creating an extension: ```python class Extension: def resolve( self, _next, root, info: Info, *args, **kwargs ) -> AwaitableOrValue[Any]: return _next(root, info, *args, **kwargs) ``` `info`...

As Graphql is used as an API it is crucial to access it from different origins, such as an JS frontend from the browser which runs on a different port...

bug

thanks to @cache-missing for the report! This: ```python import strawberry @strawberry.input class InputData: name: str = "10" @strawberry.type class Query: @strawberry.field def example(self, data: InputData = InputData()) -> str: return...

Yesterday I was playing around with implementing support for `@stream` (and indirectly, for `@defer`) Firstly, the work will be based on #3076, since it adds quite all the fundamentals we...

feature-request

## Describe the Bug When a permissions class's `has_permission` method returns False for a subscription, strawberry subsequently throws some errors while closing the connection. ## System Information - Operating system:...

bug