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.120.0 to 0.121.1 #344

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps strawberry-graphql from 0.120.0 to 0.121.1.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.121.1

This release adds a backward compatibility layer with libraries that specify a custom get_result.

🍓 0.121.0

This release adds support for overriding the default resolver for fields.

Currently the default resolver is getattr, but now you can change it to any function you like, for example you can allow returning dictionaries:

@strawberry.type
class User:
    name: str

@​strawberry.type class Query: @​strawberry.field def user(self) -> User: return {"name": "Patrick"} # type: ignore

schema = strawberry.Schema( query=Query, config=StrawberryConfig(default_resolver=getitem), )

query = "{ user { name } }"

result = schema.execute_sync(query)

Changelog

Sourced from strawberry-graphql's changelog.

0.121.1 - 2022-07-27

This release adds a backward compatibility layer with libraries that specify a custom get_result.

Contributed by Patrick Arminio via [PR #2038](strawberry-graphql/strawberry#2038)

0.121.0 - 2022-07-23

This release adds support for overriding the default resolver for fields.

Currently the default resolver is getattr, but now you can change it to any function you like, for example you can allow returning dictionaries:

@strawberry.type
class User:
    name: str

@​strawberry.type class Query: @​strawberry.field def user(self) -> User: return {"name": "Patrick"} # type: ignore

schema = strawberry.Schema( query=Query, config=StrawberryConfig(default_resolver=getitem), )

query = "{ user { name } }"

result = schema.execute_sync(query)

Contributed by Patrick Arminio via [PR #2037](strawberry-graphql/strawberry#2037)

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 #344 (aaf5107) into master (25573ec) will not change coverage. The diff coverage is n/a.

:exclamation: Current head aaf5107 differs from pull request most recent head c4c5974. Consider uploading reports for the commit c4c5974 to get more accurate results

@@           Coverage Diff           @@
##           master     #344   +/-   ##
=======================================
  Coverage   99.81%   99.81%           
=======================================
  Files          32       32           
  Lines        1099     1099           
  Branches      185      185           
=======================================
  Hits         1097     1097           
  Partials        2        2           

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 25573ec...c4c5974. Read the comment docs.

ghost commented 2 years ago

Fixes https://github.com/KundaPanda/strawberry-django-jwt/issues/340

KundaPanda commented 2 years ago

Fixes #340

Not entirely, 0.121.0 was still included as a compatible dependency, although it is not.