graphql / graphql-playground

🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
MIT License
8.75k stars 731 forks source link

Implements Spec #1297

Open matthew-renodin opened 3 years ago

matthew-renodin commented 3 years ago

This issue pertains to the following package(s):

What OS and OS version are you experiencing the issue(s) on?

Linux

What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?

1.7.33

What is the expected behavior?

type Individual implements BasicObject & StixObject & StixCoreObject & StixDomainObject & Identity .{..

type Artifact implements BasicObject & StixObject & StixCoreObject & StixCyberObservable & HashedObservable {...

What is the actual behavior?

type Individual implements BasicObject, StixObject, StixCoreObject, StixDomainObject, Identity {...

type Artifact implements BasicObject, StixObject, StixCoreObject, StixCyberObservable, HashedObservable {...

What steps may we take to reproduce the behavior?

Go to the http://demo.opencti.io/graphql click schema on the right side of the screen and click Download and the the SDL schema Read the schema and witness the error

Please provide a gif or image of the issue for a quicker response/fix.

The spec https://spec.graphql.org/June2018/#sec-Interfaces requires the "&" between the values instead of commas

type Business implements NamedEntity & ValuedEntity { name: String value: Int employeeCount: Int }