Strawberry-graphql

Latest version: v0.235.0

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

Scan your dependencies

Page 110 of 122

0.27.2

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

This release fixes an issue when using named union types in generic types,
for example using an optional union. This is now properly supported:


python
strawberry.type
class A:
a: int


strawberry.type
class B:
b: int


Result = strawberry.union("Result", (A, B))


strawberry.type
class Query:
ab: Optional[Result] = None

0.27.1

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

Fix typo in Decimal description

0.27.0

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

This release adds support for decimal type, example:


python
strawberry.type
class Query:
strawberry.field
def example_decimal(self) -> Decimal:
return Decimal("3.14159")

0.26.3

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

This release disables subscription in GraphiQL where it
is not supported.

0.26.2

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

Fixes a bug when using unions and lists together

0.26.1

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

Argument conversion doesn't populate missing args with defaults.
python
strawberry.field
def hello(self, null_or_unset: Optional[str] = UNSET, nullable: str = None) -> None:
pass

Page 110 of 122

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.