This release allows to disable operation logging when running the debug server.
strawberry server demo --log-operations False
๐ 0.139.0
This release changes the type resolution priority to prefer the field annotation over the resolver return type.
def my_resolver() -> str:
return "1.33"
@โstrawberry.type
class Query:
a: float = strawberry.field(resolver=my_resolver)
schema = strawberry.Schema(Query)
Before:
str(schema) == """
type Query {
a: String!
}
"""
After:
str(schema) == """
type Query {
a: Float!
}
"""
๐ 0.138.2
Fix Pydantic integration for Python 3.10.0 (which was missing the kw_only
parameter for dataclasses.make_dataclass()).
๐ 0.138.1
This release changes an internal implementation for FastAPI's
GraphQL router. This should reduce overhead when using the context,
and it shouldn't affect your code.
๐ 0.138.0
This release adds support for generic in arguments, see the following example:
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.140.0.
Release notes
Sourced from strawberry-graphql's releases.
... (truncated)
Changelog
Sourced from strawberry-graphql's changelog.
... (truncated)
Commits
5f825e6
Release ๐ 0.140.0f5378cb
Allow to disable operation logging in debug server (#2310)b1025d5
Release ๐ 0.139.072ee86c
Prefer class annotation over resolver annotation when determining field type ...846f060
Release ๐ 0.138.21b3db43
Fix dataclass creation in Pydantic integration for Python 3.10.0 (#2309)85c48c3
Bump pytest-benchmark from 3.4.1 to 4.0.0 (#2286)2ad9d62
Bump fastapi from 0.85.1 to 0.85.2 (#2301)7d23d8b
Bump flake8-bugbear from 22.9.23 to 22.10.27 (#2288)f8d2e9b
[pre-commit.ci] pre-commit autoupdate (#2299)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)