Exporting schema with type that inherits multiple interfaces outputs invalid schema
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
looks like the bug is on the following line graphql/utils/schema_printer.py:131 and it's already fixed in the new version of graphql-core: https://github.com/graphql-python/graphql-core/blob/7d826f0ec0a447cb869dfb891a755dbe8ea9b66f/src/graphql/utilities/print_schema.py#L154