This repository was archived by the owner on May 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
This repository was archived by the owner on May 27, 2023. It is now read-only.
Перейти на Strawberry и Django 4 #1164
Copy link
Copy link
Open
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filehelp wantedExtra attention is neededExtra attention is neededpythonPull requests that update Python codePull requests that update Python code
Milestone
Description
Целесообразно сразу перейти на Strawberry без промежуточного этапа с Graphene 3. Однако такой переход осложняется тем, что Graphene 2 и Strawberry не живут в одном приложении из-за разных версий GraphQL-core. Схема зависимостей следующая:
dcis -> devind-helpers -> graphene 2
-> devind-core -> devind-helpers -> graphene 2
-> graphene 2
-> devind-dictionaries -> graphene-django-filter -> graphene 2
-> graphene 2
-> devind-notifications
Причем от devind-helpers и devind-core зависит также eleden. Таким образом, переход нужно осуществлять постепенно, в несколько этапов:
- Удалить схему и зависимость от graphene 2 из devind-helper, скопировав код в dcis и eleden #1267
- Удалить схему и зависимости от graphene 2 из devind-core, вынеся код из схемы в сервисы
- Восстановить схему devind-core в dcis и eleden
- Удалить схему и зависимости от graphene 2 из devind-notifications, вынеся код из схемы в сервисы
- Восстановить схему devind-notifications в dcis и eleden
- Переписать devind-dictionaries на Strawberry
- Переписать dcis на Strawberry
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filehelp wantedExtra attention is neededExtra attention is neededpythonPull requests that update Python codePull requests that update Python code