strawberry
strawberry copied to clipboard
A GraphQL library for Python that leverages type annotations π
_**EDIT:** this has been updated to no longer use an extension, but to provide native support instead_ Create a new `PartialResultsExtension` to allow adding exceptions to `info.context.partial_errors` to get added...
Might be worth implementing this upcoming feature, unions are not allowed in input types and this is a good alternative to that, also should be easy to implement in code...
I noticed that when wrapping a class with `@strawberry.experimental.pydantic.type`, internal methods "disappear" (I hope I got the terminology right, by internal methods I mean methods not marked as `@strawberry.field`). See...
## Description This MR aims to change Strawberry's schema config to be a typed dictionary. Then only one import would be required to instantiate the schema. ```python import strawberry ......
I was reading the relay pagination and found this little bug, indeed the code works, but not as expected (you can find more information in this discussion [thread](https://github.com/strawberry-graphql/strawberry/discussions/3061)). ## Description...
## Describe the Bug sometimes, for reasons known only to the old gods, Strawberry attempts to apply field extensions twiceβonce during initial schema collection and once during the transformation into...
## Describe the Bug If you try to make a strawberry type from a pydantic class but mask out one of the fields in the pydantic class by making it...
Now that we Litestar support I think we can deprecate Starlite π ```[tasklist] ### Tasks - [ ] Add notice in the docs - [ ] Use typing_extensions.deprecated to mark...
The latest version of the Relay VSCode plugin supports hot clicking to jump from a query to a resolver. See: https://twitter.com/captbaritone/status/1748020699263045659 It would be great if strawberry supported this. ##...
ImportError : cannot import name 'GraphQLError' from 'graphql' ## Describe the Bug It works well when executed with poetry run app.main:main. However, when executing with python3 app/main.py, the following Import...