edgedb / edgedb-examples

EdgeDB example projects for different stacks
62 stars 22 forks source link

Bump strawberry-graphql from 0.109.1 to 0.112.0 #41

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps strawberry-graphql from 0.109.1 to 0.112.0.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.112.0

This release adds a new flask view to allow for aysnc dispatching of requests.

This is especially useful when using dataloaders with flask.

from strawberry.flask.views import AsyncGraphQLView

...

app.add_url_rule("/graphql", view_func=AsyncGraphQLView.as_view("graphql_view", schema=schema, **kwargs))

Release contributed by @​scottweitzner in #1907

🍓 0.111.2

This release fixes resolvers using functions with generic type variables raising a MissingTypesForGenericError error.

For example a resolver factory like the below can now be used:

import strawberry
from typing import Type, TypeVar

T = TypeVar("T") # or TypeVar("T", bound=StrawberryType) etc

def resolver_factory(strawberry_type: Type[T]): def resolver(id: strawberry.ID) -> T: # some actual logic here return strawberry_type(...)

return resolver

Release contributed by @​invokermain in #1891

🍓 0.111.1

Rename internal variable custom_getter in FastAPI router implementation.

Releases contributed by @​garyd203 via #1875

🍓 0.111.0

This release adds support for Apollo Federation 2 directives:

This release does not add support for the @​link directive.

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.112.0 - 2022-05-15

This release adds a new flask view to allow for aysnc dispatching of requests.

This is especially useful when using dataloaders with flask.

from strawberry.flask.views import AsyncGraphQLView

...

app.add_url_rule("/graphql", view_func=AsyncGraphQLView.as_view("graphql_view", schema=schema, **kwargs))

Contributed by Scott Weitzner via [PR #1907](strawberry-graphql/strawberry#1907)

0.111.2 - 2022-05-09

This release fixes resolvers using functions with generic type variables raising a MissingTypesForGenericError error.

For example a resolver factory like the below can now be used:

import strawberry
from typing import Type, TypeVar

T = TypeVar("T") # or TypeVar("T", bound=StrawberryType) etc

def resolver_factory(strawberry_type: Type[T]): def resolver(id: strawberry.ID) -> T: # some actual logic here return strawberry_type(...)

return resolver

Contributed by Tim OSullivan via [PR #1891](strawberry-graphql/strawberry#1891)

0.111.1 - 2022-05-03

Rename internal variable custom_getter in FastAPI router implementation.

Contributed by Gary Donovan via [PR #1875](strawberry-graphql/strawberry#1875)

... (truncated)

Commits


Dependabot compatibility score

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)