pypi strawberry-graphql 0.273.0
🍓 0.273.0

latest releases: 0.281.0, 0.280.0, 0.279.0...
2 months ago

Starting with this release, Strawberry will throw an error if one of your input
types tries to inherit from one or more interfaces. This new error enforces the
GraphQL specification that input types cannot implement interfaces.

The following code, for example, will now throw an error:

import strawberry


@strawberry.interface
class SomeInterface:
    some_field: str


@strawberry.input
class SomeInput(SomeInterface):
    another_field: int

Releases contributed by @scratchmex via #1254

Don't miss a new strawberry-graphql release

NewReleases is sending notifications on new releases.