graphql-python / graphql-python/graphql-core-legacy

Support new multiple inheritance syntax

Ouverte
#176 1 commentaire 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
372
Forks
175
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

`graphql-js 0.13` introduced a new multiple inheritance syntax, see [#1169](https://github.com/graphql/graphql-js/pull/1169). `relay 1.6` will no longer support the old syntax, see [release notes](https://github.com/facebook/relay/releases).

Implementing the new and dropping support for the old syntax is straight forward (patch attached) but would be a breaking change. A switch like `useLegacySDLImplementsInterfaces` sounds like a better idea but I am not sure what would be the best place for that in `graphql-python` (`GraphQLSchema`?).
[0002-new-multiple-inheritance-syntax.txt](https://github.com/graphql-python/graphql-core/files/2001005/0002-new-multiple-inheritance-syntax.txt)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

L’issue ne mentionne aucun fichier ni test du dépôt ; commencez par examiner le patch joint, graphql-js #1169 et les notes de version de Relay 1.6. Le travail ne sera terminé que lorsque le projet aura déterminé où doit se situer la compatibilité et prendra en charge la nouvelle syntaxe tout en gérant la syntaxe héritée conformément à cette décision.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
graphql, python
Domaine
api, backend-api-design
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.