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

as suggested in https://github.com/strawberry-graphql/strawberry/pull/2698#issuecomment-1631030171 we should change strawberry's schema config to be a type dictionary, I think this will make the dx a bit nicer, since you can do this:...

good first issue
feature-request

## Feature Request Type - [ ] Core functionality - [X] Alteration (enhancement/optimization) of existing feature(s) - [ ] New behavior ## Description Currently the only way of doing context...

It would be very useful to add an `offset` argument to relay connection. It's a feature that is implemented in graphene. See https://github.com/graphql-python/graphene-django/blob/v3.1.5/graphene_django/fields.py#L139-L145 ## Feature Request Type - [ ]...

## Feature Request Type - [ ] Core functionality - [x] Alteration (enhancement/optimization) of existing feature(s) - [ ] New behavior ## Description When using `IsAuthenticated` from `strawberry_django.permissions`, with the...

I'm opening a new issue to spec-out the API, and also write down what should we take into account to make this happen. Visibility filters will be a feature that...

feature-request

The `MaskErrors` extension does not seem to mask validation errors. This is because the `.on_operation()` handler only looks at `self.execution_context.result.errors` while validation errors (such as misspelled field names, which is...

enhancement

## Description Currently it is not always possible to use the default and default_factory argument on strawberry.field. It fails randomly and especially on root Query This PR fixes the issue....

bot:has-release-file
bot:release-type-minor

## Describe the Bug Here a code example ```` python @strawberry.type class Sub: @strawberry.field def foo(self) -> str: return "bar" @strawberry.type class Query: sub: Sub = strawberry.field(default_factory=Sub) schema = strawberry.Schema(query=Query)...

bug

## Description Quite simple solution for a nasty bug: because a default or default_factory is missing, dataclasses requires for relay.node annotations on subtypes (see bugreport) a value. The reason why...

Consider the code ```python @strawberry.type class Sub: node: relay.Node = relay.node() nodes: list[relay.Node] = relay.node() @strawberry.type class Query: @strawberry.field @staticmethod def sub(): return Sub schema = Schema(query=Query) ``` This code...

bug