Skip to content

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.0

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)

Releases contributed by @​bricker via #3241

🍓 0.231.1

Fixes an issue where lazy annotations raised an error when used together with a List

Releases contributed by @​jeich via #3388

🍓 0.231.0

When calling the CLI without all the necessary dependencies installed, a MissingOptionalDependenciesError will be raised instead of a ModuleNotFoundError. 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 a ModuleNotFoundError. 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

Merge request reports