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

It would be nice to rename generic types by annotating them. E.g. with `typing.Annotated` like for arguments. My use case is to annotate generic types inside the union: ```python import...

I think it is time to make a full copy of the mypy dataclasses plugin: https://github.com/python/mypy/blob/a6c3e0740fb7ddf65a89c1742c9d10c5fe2ed604/mypy/plugins/dataclasses.py Our plugin reuses it but it doesn't work with `strawberry.field`, since dataclasses don't know...

enhancement
mypy

Right now permissions are working well, but I think we can improve them a bit. - [ ] (1) Return an exception or warning if field with permission classes is...

Long story short, in my opinion, This, (my class used for example) ```python3 ... @strawberry.type(description="Represents data about a device that is currently connected to the application") class ActiveHdd(HddEntry): serial: ID...

discussion

## Describe the Bug When a generic type is passed to `Schema(types=[...])` an error is raised. ```python from typing import Generic, TypeVar import strawberry T = TypeVar("T") @strawberry.type class Node(Generic[T]):...

bug

``` @strawberry.input class OrderParameters(): offerer: str zone: str order_type: int = strawberry.field( description="The order type, support: {}".format(OrderType.dict()) ) start_time: int end_time: int salt: int offer: List[OfferItem] consideration: List[ConsiderationItem] zone_hash: str...

## strawberry.UNSET doesn't make parameters optional It's not possible to use `strawberry.UNSET` for optional parameters: ```py @strawberry.input class StrawberryUnset: a: int = strawberry.UNSET b: int = strawberry.UNSET @strawberry.type class Query:...

bug

## Describe the Bug Currently, [`has_permission` is called with `**kwargs`](https://github.com/strawberry-graphql/strawberry/blob/main/strawberry/schema/schema_converter.py#L457) containing any arguments to the resolver being permission checked, which if you have a resolver argument called `source` or `info`...

bug

## Feature Request Type - [ ] Core functionality - [ ] Alteration (enhancement/optimization) of existing feature(s) - [x] New behavior ## Description It would be nice to be able...

[ x ] Feature Request [ x ] Documentation If pagination is supported, be nice to include it in documentations. If there is no plan to support it, it'd be...

enhancement
help wanted