Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Allow fragment name to be optional #4

Closed
devknoll opened this issue Dec 25, 2015 · 1 comment
Closed

Allow fragment name to be optional #4

devknoll opened this issue Dec 25, 2015 · 1 comment

Comments

@devknoll
Copy link

This would allow Relay fragments (which omit the name) to be parsed correctly.

https://github.com/graphql/codemirror-graphql/blob/master/src/mode.js#L382

@leebyron
Copy link
Contributor

leebyron commented Feb 3, 2016

The codemirror mode now parses correctly, though the linter is still likely to complain about a syntax error since it's technically not valid GraphQL.

@leebyron leebyron closed this as completed Feb 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants