Build(deps): bump strawberry-graphql[fastapi] from 0.229.1 to 0.230.0
Bumps strawberry-graphql[fastapi] from 0.229.1 to 0.230.0.
Release notes
Sourced from strawberry-graphql[fastapi]'s releases.
🍓 0.230.0This release adds support for
@oneOf
on input types!🎉 You can useone_of=True
on input types to create an input type that should only have one of the fields set.import strawberry @strawberry.input(one_of=True) class ExampleInputTagged: a: str | None = strawberry.UNSET b: int | None = strawberry.UNSET
Releases contributed by
@patrick91
via #3429
🍓 0.229.2This release fixes an issue when using
Annotated
+strawberry.lazy
+ deferred annotations such as:from __future__ import annotations import strawberry from typing import Annotated @strawberry.type class Query: a: Annotated["datetime", strawberry.lazy("datetime")] schema = strawberry.Schema(Query)
Before this would only work if
datetime
was not inside quotes. Now it should work as expected!Releases contributed by
@bellini666
via #3507
Changelog
Sourced from strawberry-graphql[fastapi]'s changelog.
0.230.0 - 2024-05-22
This release adds support for
@oneOf
on input types!🎉 You can useone_of=True
on input types to create an input type that should only have one of the fields set.import strawberry @strawberry.input(one_of=True) class ExampleInputTagged: a: str | None = strawberry.UNSET b: int | None = strawberry.UNSET
Contributed by Patrick Arminio via [PR #3429](strawberry-graphql/strawberry#3429)
0.229.2 - 2024-05-22
This release fixes an issue when using
Annotated
+strawberry.lazy
+ deferred annotations such as:from __future__ import annotations import strawberry from typing import Annotated @strawberry.type class Query: a: Annotated["datetime", strawberry.lazy("datetime")] schema = strawberry.Schema(Query)
Before this would only work if
datetime
was not inside quotes. Now it should work as expected!Contributed by Thiago Bellini Ribeiro via [PR #3507](strawberry-graphql/strawberry#3507)