Strawberry-graphql

Latest version: v0.235.0

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

Scan your dependencies

Page 98 of 122

0.44.4

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

Add support for converting more pydantic types

- pydantic.EmailStr
- pydantic.AnyUrl
- pydantic.AnyHttpUrl
- pydantic.HttpUrl
- pydantic.PostgresDsn
- pydantic.RedisDsn

0.44.3

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

This releases fixes an issue where methods marked as field were
removed from the class.

0.44.2

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

Validate the schema when it is created instead of at runtime.

0.44.1

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

This release adds support for strawberry.federation.field under mypy.

0.44.0

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

Creation of a `[debug-server]` extra, which is required to get going quickly with this project!


pip install strawberry-graphql


Will now install the primary portion of of the framework, allowing you to build your GraphQL
schema using the dataclasses pattern.

To get going quickly, you can install `[debug-server]` which brings along a server which allows
you to develop your API dynamically, assuming your schema is defined in the `app` module:


pip install 'strawberry-graphql[debug-server]'
strawberry server app


Typically, in a production environment, you'd want to bring your own server :)

0.43.2

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

This release fixes an issue when using unions inside generic types, this is now
supported:


python
strawberry.type
class Dog:
name: str


strawberry.type
class Cat:
name: str


strawberry.type
class Connection(Generic[T]):
nodes: List[T]


strawberry.type
class Query:
connection: Connection[Union[Dog, Cat]]

Page 98 of 122

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.