This release improves the error message that you get when trying
to use an enum that hasn't been decorated with @strawberry.enum
inside a type's field.
🍓 0.134.4
This release adds support for printing schema directives on an input type object, for example the following schema:
@strawberry.schema_directive(locations=[Location.INPUT_FIELD_DEFINITION])
class RangeInput:
min: int
max: int
@​strawberry.input
class CreateUserInput:
name: str
age: int = strawberry.field(directives=[RangeInput(min=1, max=100)])
prints the following:
directive @rangeInput(min: Int!, max: Int!) on INPUT_FIELD_DEFINITION
This release improves the error message that you get when trying
to use an enum that hasn't been decorated with @strawberry.enum
inside a type's field.
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.134.5.
Release notes
Sourced from strawberry-graphql's releases.
... (truncated)
Changelog
Sourced from strawberry-graphql's changelog.
... (truncated)
Commits
c519fad
Release 🍓 0.134.5c60b0ed
Improve error message for enums (#2267)9a48528
Release 🍓 0.134.4acf0ee9
Print schema directive on INPUT_FIELD_DEFINITION (#2233)e6749fb
Bump pytest-mock from 3.9.0 to 3.10.0 (#2229)9dee64e
Bump fastapi from 0.85.0 to 0.85.1 (#2258)2b3fd00
Bump types-python-dateutil from 2.8.19 to 2.8.19.2 (#2257)7c65423
Bump types-requests from 2.28.11 to 2.28.11.2 (#2237)c10eefd
[pre-commit.ci] pre-commit autoupdate (#2256)f1a5be1
Bump typing-extensions from 4.3.0 to 4.4.0 (#2236)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)