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

## Description Change one of the overrides of `strawberry.field` to return `-> Resolver[T]` if `resolver = ...` is provided. This forces you to annotate your fields as `field: Resolver[int] =...

If I implement the following construct: ``` # graphql/file.py if TYPE_CHECKING: from graphql.status import StatusesResult @strawberry.type class File: statuses: Annotated[ "StatusesResult", strawberry.lazy("graphql.status") ] ``` ``` # graphql/status.py @strawberry.type class Status:...

Server side ping messages are necessary to keep the websocket connection open on all types of platforms. The particular platform I'm working with is react-native on Android ## Describe the...

bug

## Describe the Bug The code below doesn't give any warnings using `mypy` with Strawberry plugin or `PyRight`: ```python from strawberry import field, type def resolver() -> int: return 42...

bug

When importing strawberry with all waring enabled (-Wall) you get ``` .../site-packages/strawberry/types/fields/resolver.py:199: DeprecationWarning: Argument name-based matching of 'info' is deprecated and will be removed in v1.0. Ensure that reserved arguments...

bug

Bumps [django](https://github.com/django/django) from 4.2.9 to 4.2.10. Commits a684d73 [4.2.x] Bumped version for 4.2.10 release. 572ea07 [4.2.x] Fixed CVE-2024-24680 -- Mitigated potential DoS in intcomma template ... 9fe7411 [4.2.x] Pinned black...

dependencies

Looks like Codecov is still failing a lot, we send coverage info for every single test, I think it would be best to collect all the coverage and then send...

help wanted
good first issue

This is a new protocol created by Apollo (and supported by Apollo Client) # TODO - [x] Add support for this in all HTTP integrations that support subscriptions - [x]...

ok-to-preview
bot:has-release-file
bot:release-type-minor

This is how you create a custom scalar now: ```python import base64 from typing import NewType import strawberry Base64 = strawberry.scalar( NewType("Base64", bytes), serialize=lambda v: base64.b64encode(v).decode("utf-8"), parse_value=lambda v: base64.b64decode(v).encode("utf-8"), )...

feature-request

When using `from_pydantic` with strawberry-graphql = 0.216.0 and mypy = 1.7.1 with the extra parameter, I receive a warning from mypy that extra does not exist. ## Description I added...

bot:has-release-file
bot:release-type-patch