strawberry-graphql / strawberry-sqlalchemy

A SQLAlchemy Integration for strawberry-graphql
MIT License
91 stars 26 forks source link

Bump strawberry-graphql from 0.205.0 to 0.208.2 #45

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps strawberry-graphql from 0.205.0 to 0.208.2.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.208.2

This release fixes an issue that would prevent using generics with unnamed unions, like in this example:

from typing import Generic, TypeVar, Union
import strawberry

T = TypeVar("T")

@​strawberry.type class Connection(Generic[T]): nodes: list[T]

@​strawberry.type class Entity1: id: int

@​strawberry.type class Entity2: id: int

@​strawberry.type class Query: entities: Connection[Union[Entity1, Entity2]]

Releases contributed by @​patrick91 via #3099

🍓 0.208.1

This fixes a bug where codegen would choke trying to find a field in the schema for a generic type.

Releases contributed by @​mgilson via #3077

🍓 0.208.0

Adds new strawberry.Parent type annotation to support resolvers without use of self.

E.g.

@dataclass
class UserRow:
    id_: str

@​strawberry.type </tr></table>

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.208.2 - 2023-09-18

This release fixes an issue that would prevent using generics with unnamed unions, like in this example:

from typing import Generic, TypeVar, Union
import strawberry

T = TypeVar("T")

@​strawberry.type class Connection(Generic[T]): nodes: list[T]

@​strawberry.type class Entity1: id: int

@​strawberry.type class Entity2: id: int

@​strawberry.type class Query: entities: Connection[Union[Entity1, Entity2]]

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

0.208.1 - 2023-09-15

This fixes a bug where codegen would choke trying to find a field in the schema for a generic type.

Contributed by Matt Gilson via [PR #3077](strawberry-graphql/strawberry#3077)

0.208.0 - 2023-09-14

Adds new strawberry.Parent type annotation to support resolvers without use of self.

E.g.

... (truncated)

Commits
  • 1171e7f Release 🍓 0.208.2
  • d4cecb1 Fix issue with unnamed unions and generics (#3099)
  • af05822 Release 🍓 0.208.1
  • ecba2c3 Codegen generic types (#3077)
  • 47578dd Release 🍓 0.208.0
  • d1ff467 Add new strawberry.Parent annotation to support static resolvers with non-sel...
  • dd5e388 Release 🍓 0.207.1
  • af5bc4d Fix a codegen fragment spread bug (#3086)
  • 2202c9e Release 🍓 0.207.0
  • 37ad715 Remove deprecated ignore argument from QueryDepthLimiter (#3093)
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
codspeed-hq[bot] commented 1 year ago

CodSpeed Performance Report

Merging #45 will not alter performance

Comparing dependabot/pip/strawberry-graphql-0.208.2 (6941e70) with main (070ec9a)

Summary

âś… 1 untouched benchmarks

codecov-commenter commented 1 year ago

Codecov Report

Merging #45 (6941e70) into main (070ec9a) will not change coverage. The diff coverage is n/a.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #45 +/- ## ======================================= Coverage 77.37% 77.37% ======================================= Files 10 10 Lines 725 725 Branches 108 108 ======================================= Hits 561 561 Misses 135 135 Partials 29 29 ```
dependabot[bot] commented 1 year ago

Superseded by #47.