graphql-python / graphql-python/graphene
Exporting schema with type that inherits multiple interfaces outputs invalid schema
- Lenguaje dominante
- Python
- Estrellas
- 8.2k
- Forks
- 818
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**Note: for support questions, please use stackoverflow**. This repository's issues are reserved for feature requests and bug reports.
* **What is the current behavior?**
When converting a schema object to string containing type with multiple interfaces results to invalid notation with comma as separating character:
`type Potato implements Food, Vegetable ...`
* **What is the expected behavior?**
`type Potato implements Food & Vegetable ...`
* **Please tell us about your environment:**
graphene: 2.1.8
graphene-django: 2.10.1
graphene-federation: 0.1.0
Platform: Mac
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start by tracing Graphene's schema-object-to-string export path for interface lists. Reproduce the issue with a type implementing multiple interfaces and compare the generated notation with the expected ampersand-separated form. Done means the exported schema is valid and the existing schema serialization tests cover this case.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- api
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100