Build(deps): Bump strawberry-graphql[fastapi] from 0.224.1 to 0.225.0
Bumps strawberry-graphql[fastapi] from 0.224.1 to 0.225.0.
Release notes
Sourced from strawberry-graphql[fastapi]'s releases.
🍓 0.225.0This release adds support for using FastAPI APIRouter arguments in GraphQLRouter.
Now you have the opportunity to specify parameters such as
tags
,route_class
,deprecated
,include_in_schema
, etc:import strawberry from fastapi import FastAPI from strawberry.fastapi import GraphQLRouter @strawberry.type class Query: @strawberry.field def hello(self) -> str: return "Hello World" schema = strawberry.Schema(Query) graphql_app = GraphQLRouter(schema, tags=["graphql"]) app = FastAPI() app.include_router(graphql_app, prefix="/graphql")
Releases contributed by
@nparamonov
via #3442
🍓 0.224.2This releases fixes a bug where schema extensions where not running a LIFO order.
Releases contributed by
@nrbnlulu
via #3416
Changelog
Sourced from strawberry-graphql[fastapi]'s changelog.
0.225.0 - 2024-04-14
This release adds support for using FastAPI APIRouter arguments in GraphQLRouter.
Now you have the opportunity to specify parameters such as
tags
,route_class
,deprecated
,include_in_schema
, etc:import strawberry from fastapi import FastAPI from strawberry.fastapi import GraphQLRouter @strawberry.type class Query: @strawberry.field def hello(self) -> str: return "Hello World" schema = strawberry.Schema(Query) graphql_app = GraphQLRouter(schema, tags=["graphql"]) app = FastAPI() app.include_router(graphql_app, prefix="/graphql")
Contributed by Nikita Paramonov via [PR #3442](strawberry-graphql/strawberry#3442)
0.224.2 - 2024-04-13
This releases fixes a bug where schema extensions where not running a LIFO order.
Contributed by ניר via [PR #3416](strawberry-graphql/strawberry#3416)