Strawberry-graphql

Latest version: v0.235.0

Safety actively analyzes 638437 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 101 of 122

0.40.2

Not secure
-------------------

Allow interfaces to implement other interfaces.
This may be useful if you are using the relay pattern
or if you want to model base interfaces that can be extended.

Example:
python
import strawberry


strawberry.interface
class Error:
message: str


strawberry.interface
class FieldError(Error):
message: str
field: str


strawberry.type
class PasswordTooShort(FieldError):
message: str
field: str
fix: str

Produces the following SDL:
graphql
interface Error {
message: String!
}

interface FieldError implements Error {
message: String!
field: String!
}

type PasswordTooShort implements FieldError & Error {
message: String!
field: String!
fix: String!
}

0.40.1

Not secure
-------------------

Fix mypy plugin to handle bug where the `types` argument to `strawberry.union` is passed in as a keyword argument instead of a position one.

python
MyUnion = strawberry.union(types=(TypeA, TypeB), name="MyUnion")

0.40.0

Not secure
-------------------

This release adds a new AsyncGraphQLView for django.

0.39.4

Not secure
-------------------

Improve typing for `field` and `StrawberryField`.

0.39.3

Not secure
-------------------

This release disable implicit re-export of modules. This fixes Strawberry for you if you were using `implicit_reexport = False` in your MyPy config.

0.39.2

Not secure
-------------------

This fixes the prettier pre-lint check.

Page 101 of 122

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.