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 摘要。