{"action":"created","issue":{"url":"https://api.github.com/repos/jimkyndemeyer/js-graphql-intellij-plugin/issues/14","repository_url":"https://api.github.com/repos/jimkyndemeyer/js-graphql-intellij-plugin","labels_url":"https://api.github.com/repos/jimkyndemeyer/js-graphql-intellij-plugin/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/jimkyndemeyer/js-graphql-intellij-plugin/issues/14/comments","events_url":"https://api.github.com/repos/jimkyndemeyer/js-graphql-intellij-plugin/issues/14/events","html_url":"https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/issues/14","id":161062510,"number":14,"title":"Schema editor marks all as invalid symbols","user":{"login":"GrigoryPtashko","id":2768788,"avatar_url":"https://avatars.githubusercontent.com/u/2768788?v=3","gravatar_id":"","url":"https://api.github.com/users/GrigoryPtashko","html_url":"https://github.com/GrigoryPtashko","followers_url":"https://api.github.com/users/GrigoryPtashko/followers","following_url":"https://api.github.com/users/GrigoryPtashko/following{/other_user}","gists_url":"https://api.github.com/users/GrigoryPtashko/gists{/gist_id}","starred_url":"https://api.github.com/users/GrigoryPtashko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrigoryPtashko/subscriptions","organizations_url":"https://api.github.com/users/GrigoryPtashko/orgs","repos_url":"https://api.github.com/users/GrigoryPtashko/repos","events_url":"https://api.github.com/users/GrigoryPtashko/events{/privacy}","received_events_url":"https://api.github.com/users/GrigoryPtashko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-19T08:21:21Z","updated_at":"2016-06-19T08:47:45Z","closed_at":null,"body":"Hello.\r\n\r\nI wanted to create a graphql schema in a scratch file. So I'm opening a GraphQL Schema scratch and input a simple Node interface:\r\n\r\n```\r\ninterface Node {\r\n    id: ID!\r\n}\r\n```\r\n\r\nBut the editor marks all except `id` and `ID` as invalid.\r\nHere's the screenshot:\r\n\r\n![screenshot 2016-06-19 11 13 51](https://cloud.githubusercontent.com/assets/2768788/16176183/3a4fecee-3618-11e6-8546-91a4dc0ed3ee.png)\r\n\r\nWhy is that?\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/jimkyndemeyer/js-graphql-intellij-plugin/issues/comments/226986485","html_url":"https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/issues/14#issuecomment-226986485","issue_url":"https://api.github.com/repos/jimkyndemeyer/js-graphql-intellij-plugin/issues/14","id":226986485,"user":{"login":"jimkyndemeyer","id":15837712,"avatar_url":"https://avatars.githubusercontent.com/u/15837712?v=3","gravatar_id":"","url":"https://api.github.com/users/jimkyndemeyer","html_url":"https://github.com/jimkyndemeyer","followers_url":"https://api.github.com/users/jimkyndemeyer/followers","following_url":"https://api.github.com/users/jimkyndemeyer/following{/other_user}","gists_url":"https://api.github.com/users/jimkyndemeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/jimkyndemeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimkyndemeyer/subscriptions","organizations_url":"https://api.github.com/users/jimkyndemeyer/orgs","repos_url":"https://api.github.com/users/jimkyndemeyer/repos","events_url":"https://api.github.com/users/jimkyndemeyer/events{/privacy}","received_events_url":"https://api.github.com/users/jimkyndemeyer/received_events","type":"User","site_admin":false},"created_at":"2016-06-19T08:47:45Z","updated_at":"2016-06-19T08:47:45Z","body":"Hi Grigory.\r\n\r\nThanks for using the plugin.\r\n\r\nThe schema language isn't supported yet for editing scenarios. The schema scratch file option appears to be an unintended side-effect of introducing support for traditional GraphQL scratch files.\r\n\r\nHere more background regarding the schema language support from an earlier issue:\r\n\r\n> As it stands, the .graphqls support is considered read-only and requires that a valid parse tree can be created for syntax highlighting. It was added as a means of showing the currently loaded schema that the plugin uses for completion, error highlighting, and for providing find usages etc.\r\n> \r\n> I logged graphql/codemirror-graphql#14 a short while ago since schema editing would be a useful addition. Until that issue is implemented, you should edit your schema file with another file extension to prevent the errors-as-you-type from popping up the console.\r\n\r\nFor now, I'll see if the schema scratch file option can be removed until it's fully supported. This should avoid confusing users.\r\n\r\nBest regards,\r\nJim."}}
{"actor":{"display_login":"jimkyndemeyer"}}