Strawberry-graphql

Latest version: v0.235.0

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

Scan your dependencies

Page 113 of 122

0.23.1

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

Removes the need for duplicate graphiql template file.

0.23.0

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

This releases replaces the playground with GraphiQL including the GraphiQL explorer plugin.

0.22.0

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

This release adds support for generic types, allowing
to reuse types, here's an example:

python
T = typing.TypeVar("T")


strawberry.type
class Edge(typing.Generic[T]):
cursor: strawberry.ID
node: T


strawberry.type
class Query:
strawberry.field
def int_edge(self, info, **kwargs) -> Edge[int]:
return Edge(cursor=strawberry.ID("1"), node=1)

0.21.1

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

0.21.0

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

Added a Flask view that allows you to query the schema and interact with it via GraphiQL.

Usage:

python
app.py
from strawberry.flask.views import GraphQLView
from your_project.schema import schema

app = Flask(__name__)

app.add_url_rule(
"/graphql", view_func=GraphQLView.as_view("graphql_view", schema=schema)
)

if __name__ == "__main__":
app.run(debug=True)

0.20.3

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

Improve datetime, date and time types conversion. Removes aniso dependency
and also adds support for python types, so now we can do use python datetime's types
instead of our custom scalar types.

Page 113 of 122

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.