This release changes the dataloader batch resolution to avoid resolving
futures that were canceled, and also from reusing them from the cache.
Trying to resolve a future that was canceled would raise asyncio.InvalidStateError
🍓 0.142.1
This release fixes a bug where using a custom scalar in a union would result
in an unclear exception. Instead, when using a custom scalar in a union,
the InvalidUnionType exception is raised with a clear message that you
cannot use that type in a union.
🍓 0.142.0
This release adds support for typing.Self and typing_extensions.Self for types and interfaces.
This release adds support for an implicit resolve_reference method
on Federation type. This method will automatically create a Strawberry
instance for a federation type based on the input data received, for
example, the following:
@strawberry.federation.type(keys=["id"])
class Something:
id: str
@​strawberry.federation.type(keys=["upc"])
class Product:
upc: str
something: Something
This release changes the dataloader batch resolution to avoid resolving
futures that were canceled, and also from reusing them from the cache.
Trying to resolve a future that was canceled would raise asyncio.InvalidStateError
This release fixes a bug where using a custom scalar in a union would result
in an unclear exception. Instead, when using a custom scalar in a union,
the InvalidUnionType exception is raised with a clear message that you
cannot use that type in a union.
This release adds support for an implicit resolve_reference method
on Federation type. This method will automatically create a Strawberry
instance for a federation type based on the input data received, for
example, the following:
@strawberry.federation.type(keys=["id"])
class Something:
</tr></table>
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps strawberry-graphql from 0.133.5 to 0.142.2.
Release notes
Sourced from strawberry-graphql's releases.
... (truncated)
Changelog
Sourced from strawberry-graphql's changelog.
... (truncated)
Commits
aa3f54d
Release 🍓 0.142.28b700c5
fix: Prevent InvalidStateError when resolving canceled futures (#2339)f6460db
[pre-commit.ci] pre-commit autoupdate (#2340)dae3195
Bump pytest-asyncio from 0.20.1 to 0.20.2 (#2337)2691108
Release 🍓 0.142.16963b2a
Fix error when trying to use a custom scalar in a union (#2336)856cfb6
Release 🍓 0.142.05893f7d
Support new Self type as an annotation. (#2295)6139103
Bump types-requests from 2.28.11.3 to 2.28.11.4 (#2331)c369a2c
Release 🍓 0.141.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)