Build(deps): bump strawberry-graphql[fastapi] from 0.230.0 to 0.232.0
Bumps strawberry-graphql[fastapi] from 0.230.0 to 0.232.0.
Release notes
Sourced from strawberry-graphql[fastapi]'s releases.
🍓 0.232.0This release improves type checking for async resolver functions when used as
strawberry.field(resolver=resolver_func)
.Now doing this will raise a type error:
import strawberry def some_resolver() -> int: return 0 @strawberry.type class User: # Note the field being typed as str instead of int name: str = strawberry.field(resolver=some_resolver)
Releases contributed by
@bricker
via #3241
🍓 0.231.1Fixes an issue where lazy annotations raised an error when used together with a List
Releases contributed by
@jeich
via #3388
🍓 0.231.0When calling the CLI without all the necessary dependencies installed, a
MissingOptionalDependenciesError
will be raised instead of aModuleNotFoundError
. This new exception will provide a more helpful hint regarding how to fix the problem.Releases contributed by
@parafoxia
via #3511
Changelog
Sourced from strawberry-graphql[fastapi]'s changelog.
0.232.0 - 2024-05-25
This release improves type checking for async resolver functions when used as
strawberry.field(resolver=resolver_func)
.Now doing this will raise a type error:
import strawberry def some_resolver() -> int: return 0 @strawberry.type class User: # Note the field being typed as str instead of int name: str = strawberry.field(resolver=some_resolver)
Contributed by Bryan Ricker via [PR #3241](strawberry-graphql/strawberry#3241)
0.231.1 - 2024-05-25
Fixes an issue where lazy annotations raised an error when used together with a List
Contributed by jeich via [PR #3388](strawberry-graphql/strawberry#3388)
0.231.0 - 2024-05-25
When calling the CLI without all the necessary dependencies installed, a
MissingOptionalDependenciesError
will be raised instead of aModuleNotFoundError
. This new exception will provide a more helpful hint regarding how to fix the problem.Contributed by Ethan Henderson via [PR #3511](strawberry-graphql/strawberry#3511)
Commits
-
a7fc70a
Release🍓 0.232.0 -
9099e43
Fix _RESOLVER_TYPE for async functions (#3241) -
014c4ec
Replaced default encode_json with a useful example (#2552) -
4ced1f3
Release🍓 0.231.1 -
81e20a5
Unpack list type when looking up namespaces (#3388) -
1bf5425
Release🍓 0.231.0 -
dd4c343
Fix unclear error when missing dependencies (#3511) -
61f9e3a
Remove TWEET.md - See full diff in compare view