BSD Ports

www/py-dj51-strawberry-graphql-django 0.58.0 DragonFly

Strawberry GraphQL Django extension

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
python, www
Package size
197.2 KiB, 1270.1 KiB installed

Description

This package provides powerful tools to generate GraphQL types, queries, mutations and resolvers from Django models.

Supported Features:

* GraphQL type generation from models * Filtering, pagination and ordering * Basic create, retrieve, update and delete (CRUD) types and mutations * Basic Django auth support, current user query, login and logout mutations * Django sync and async views * Permission extension using django's permissioning system * Relay support with automatic resolvers generation * Query optimization to improve performance and avoid common pitfalls (e.g n+1) * Debug Toolbar integration with graphiql to display metrics like SQL queries * Unit test integration

Install

Binary package:

pkg install py311-dj51-strawberry-graphql-django

From DPorts:

cd /usr/dports/www/py-dj51-strawberry-graphql-django && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 6
Required by 1