KundaPanda / strawberry-django-jwt

[UNMAINTAINED] JSON Web Token (JWT) authentication for Django with Strawberry GraphQL
MIT License
37 stars 16 forks source link

Bump strawberry-graphql from 0.111.1 to 0.112.0 #305

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps strawberry-graphql from 0.111.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

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)

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)
codecov[bot] commented 2 years ago

Codecov Report

Merging #305 (df797c1) into master (e7f920c) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #305   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           32        32           
  Lines         1100      1100           
  Branches       181       181           
=========================================
  Hits          1100      1100           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e7f920c...df797c1. Read the comment docs.

dependabot[bot] commented 2 years ago

Superseded by #308.