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 _**👉 tl;dr:**_ Lets you use `|` between permission instances, e.g. `is_cool_color = IsBlue() | IsGreen()` - Added: `BasePermission.__or__` instance method, which returns an `OrPermission` instance - Added: `OrPermission`,...

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

Basic `dict` support for input extensions, to support automatic persisted queries in the future. See #1707. ## Description ## Types of Changes - [ ] Core - [ ] Bugfix...

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

Closes #3289 Not 100% sure if this is the best way to do this, we might need to refactor some of these parts in future 😊

## Description See commit messages. ## Types of Changes - [ ] Core - [x] Bugfix - [ ] New feature - [ ] Enhancement/optimization - [ ] Documentation ##...

bot:has-release-file

Initial work that allows you to use pydantic classes out of the box, without converting it into a strawberry dataclass type. Start of https://github.com/strawberry-graphql/strawberry/issues/2181 What works - Basic usage of...

## Description When I run the test with pydantic>=2 (pydantic!=2.0.3), two tests fail due to the hardcoded version. This problem has not been found because no tests are currently run...

## Description Fixes generic type arguments for Coroutine in RESOLVER_TYPE. The given types are incorrect: It is `Coroutine[YieldType, SendType, ReturnType]`. This allows catching when the return type of an async...

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

There aren't many graphql client generators in the python ecosystem. AFAIK, strawberry and https://github.com/mirumee/ariadne-codegen are the only two. For organizations already using strawberry on the backend, it makes a lot...

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

## Description Having this type in the schema violates the relay spec: https://graphql.org/learn/global-object-identification/ https://relay.dev/docs/guides/graphql-server-specification/#schema The GlobalID is technically a specialization of the existing strawberry.ID type, and the schema name should...

Needs validation and configuration options