edgedb / edgedb-examples

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

Bump strawberry-graphql from 0.109.1 to 0.111.2 #38

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps strawberry-graphql from 0.109.1 to 0.111.2.

Release notes

Sourced from strawberry-graphql's releases.

🍓 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

🍓 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.

This release updates the @​key directive to align with Apollo Federation 2 updates.

See the below code snippet and/or the newly-added test cases for examples on how to use the new directives. The below snippet demonstrates the @​override directive.

import strawberry
from typing import List

@​strawberry.interface class SomeInterface: id: strawberry.ID

@​strawberry.federation.type(keys=["upc"], extend=True) class Product(SomeInterface): upc: str = strawberry.federation.field(external=True, override=["mySubGraph"])

</tr></table>

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

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)

0.111.0 - 2022-05-02

This release adds support for Apollo Federation 2 directives:

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

This release updates the @​key directive to align with Apollo Federation 2 updates.

See the below code snippet and/or the newly-added test cases for examples on how to use the new directives. The below snippet demonstrates the @​override directive.

import strawberry
</tr></table> 

... (truncated)

Commits
  • 05c94ae Release 🍓 0.111.2
  • 58a21ae Fix exception raise when resolvers have generic type hint (#1891)
  • 2b275a1 Bump types-toml from 0.10.6 to 0.10.7 (#1895)
  • fae03c5 Bump pre-commit from 2.18.1 to 2.19.0 (#1884)
  • 3c97302 adding pipenv files to .gitignore (#1881)
  • c4ffe70 Bump typing-extensions from 4.1.1 to 4.2.0 (#1822)
  • 0128426 Add workflow to update the release with author and PR link
  • d611712 Release 🍓 0.111.1
  • 5b1c9d6 Rename custom_getter variable in nested scope for FastAPI router to reflect...
  • 1720d72 tests: harden test_using_different_names_for_directive_field (#1876)
  • 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 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)
dependabot[bot] commented 2 years ago

Superseded by #41.