agateblue / agateblue/django-dynamic-preferences

Add support for Graphene-Django

未关闭
#282 3 条评论 0 个 reaction 已指派 1 人 已被 @Natureshadow 认领 在 GitHub 查看
主要语言
Python
星标
359
派生
86
PR 合并指标
30 天内没有已合并 PR

描述

In addition to the REST API support, support for GraphQL would be good.

1. Define queries and mutations for the [GraphQL schema](https://docs.graphene-python.org/projects/django/en/latest/schema/) in `api/schema.py`
2. [Re-use the REST API serializers](https://graphene-django-murali.readthedocs.io/en/latest/rest-framework.html)
3. Make sure the GraphQL queris and mutations use the same permission checks as the REST API viewsets do
4. Add documentation on how to inject the queries and mutations into the project schema

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。