prettier/tests/graphql_newline
Christopher Chedeau 58e5536741
Update GraphQL parser (#3605)
* Update GraphQL parser

Fixes #3601

This adds support for
- description as strings
- extending all the possible types
- block strings
- allow removing {} if there's no implementation for all graphql types

This is a breaking change but shouldn't be a big issue.
- Empty types are no longer allowed (there's an option to enable it but it hasn't been released yet). The fix is to remove `{}`

Something that hasn't been changed because not released:
- Doesn't support the new `&` separator for implementing multiple interfaces

A bug has been fixed:
- Now properly prints @directives for unions.

* Properly handle triple quotes
2017-12-31 16:45:06 +01:00
..
__snapshots__ Update GraphQL parser (#3605) 2017-12-31 16:45:06 +01:00
directive_decl.graphql Update GraphQL parser (#3605) 2017-12-31 16:45:06 +01:00
directives.graphql Preserve intentional new lines in GraphQL (#3252) 2017-11-12 02:10:54 -02:00
enum.graphql Preserve intentional new lines in GraphQL (#3252) 2017-11-12 02:10:54 -02:00
fields.graphql Preserve intentional new lines in GraphQL (#3252) 2017-11-12 02:10:54 -02:00
input.graphql Preserve intentional new lines in GraphQL (#3252) 2017-11-12 02:10:54 -02:00
interface.graphql Preserve intentional new lines in GraphQL (#3252) 2017-11-12 02:10:54 -02:00
jsfmt.spec.js Change run_spec to have explicit parser list (#3356) 2017-11-30 03:31:52 -03:00
object_type_def.graphql Preserve intentional new lines in GraphQL (#3252) 2017-11-12 02:10:54 -02:00
schema.graphql Preserve intentional new lines in GraphQL (#3252) 2017-11-12 02:10:54 -02:00