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

This was prompted by this issue: https://github.com/strawberry-graphql/strawberry/issues/1887 Currently there are some cases where the behaviour we have might not be what one expects. And we could also improve how we...

enhancement
feature-request

## Describe the Bug Following on from: https://github.com/strawberry-graphql/strawberry/pull/1891 The case where a field's resolver has a subclassed generic return type still raises a Type Error. The `isinstance` check is too...

bug

## Describe the Bug Using a field resolver with return type of `list` or `List` (as opposed to say `list[int]` etc) raising an internal exception: ``` AttributeError: __args__. Did you...

bug

[`strawberry.GraphQLView.dispatch_request()`](https://github.com/strawberry-graphql/strawberry/blob/05c94aea86d5c44e226d0f5a0d453079308ce8b9/strawberry/flask/views.py#L46) is typed as returning `flask.Request`, which is much more restrictive than the [superclass method return type](https://flask.palletsprojects.com/en/2.1.x/api/#flask.views.View.dispatch_request): > [Union](https://docs.python.org/3/library/typing.html#typing.Union)[Response, str, bytes, Dict[str, Any], Iterator[str], Iterator[bytes], Tuple[Union[[Response](https://flask.palletsprojects.com/en/2.1.x/api/#flask.Response), [str](https://docs.python.org/3/library/stdtypes.html#str), [bytes](https://docs.python.org/3/library/stdtypes.html#bytes), [Dict](https://docs.python.org/3/library/typing.html#typing.Dict)[str, Any],...

bug

Let me start with an example, a very standard CRUD API: ```python @strawberry.type class User name: str birthday: date ... @strawberry.field async def something(self) -> Something @strawberry.input class UserInput name:...

## Feature Request Type - [ ] Core functionality - [x ] Alteration (enhancement/optimization) of existing feature(s) - [ ] New behavior ## Description Currently the function signature of from_pydantic...

I would be nice to get have 100% type coverage, but we don't have anything at the moment that reports the coverage on ci, we should add something like that...

Allow the empty inheritance of classes with the pydantic-type decorator as discussed in #1533 ## Description Currently, when trying to inherit from a class which was wrapped by `strawberry.experimental.pydantic.type` or...

bot:has-release-file

Deprecate the parameter `render_graphiql` in favour of `graphiql` in Chalice view. ## Description Chalice's view is the only one with a different parameter name for enabling/disabling graphiql. Would like to...

bot:has-release-file

## Description ## Types of Changes - [ ] Core - [ ] Bugfix - [ ] New feature - [ ] Enhancement/optimization - [ ] Documentation ## Issues Fixed...