{"action":"closed","issue":{"url":"https://api.github.com/repos/cjoudrey/graphql-schema-linter/issues/159","repository_url":"https://api.github.com/repos/cjoudrey/graphql-schema-linter","labels_url":"https://api.github.com/repos/cjoudrey/graphql-schema-linter/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/cjoudrey/graphql-schema-linter/issues/159/comments","events_url":"https://api.github.com/repos/cjoudrey/graphql-schema-linter/issues/159/events","html_url":"https://github.com/cjoudrey/graphql-schema-linter/issues/159","id":390767183,"node_id":"MDU6SXNzdWUzOTA3NjcxODM=","number":159,"title":"Whitespace in enum types fail validation","user":{"login":"SensibleWood","id":2420069,"node_id":"MDQ6VXNlcjI0MjAwNjk=","avatar_url":"https://avatars2.githubusercontent.com/u/2420069?v=4","gravatar_id":"","url":"https://api.github.com/users/SensibleWood","html_url":"https://github.com/SensibleWood","followers_url":"https://api.github.com/users/SensibleWood/followers","following_url":"https://api.github.com/users/SensibleWood/following{/other_user}","gists_url":"https://api.github.com/users/SensibleWood/gists{/gist_id}","starred_url":"https://api.github.com/users/SensibleWood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SensibleWood/subscriptions","organizations_url":"https://api.github.com/users/SensibleWood/orgs","repos_url":"https://api.github.com/users/SensibleWood/repos","events_url":"https://api.github.com/users/SensibleWood/events{/privacy}","received_events_url":"https://api.github.com/users/SensibleWood/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-13T16:49:58Z","updated_at":"2018-12-14T05:41:44Z","closed_at":"2018-12-14T05:41:44Z","author_association":"NONE","body":"Hey\r\n\r\nShould `enum` values with containing whitespace be allowed? This is my example that fails validation:\r\n\r\n```\r\nenum OBBCAData1_Overdraft_OverdraftTierBandSet_OverdraftTierBand_AgreementPeriod {\r\n  Day\r\n  Half Year\r\n  Month\r\n  Quarter\r\n  Week\r\n  Year\r\n}\r\n```\r\n\r\nError is:\r\n\r\n```\r\nEnum type OBBCAData1_Overdraft_OverdraftTierBandSet_OverdraftTierBand_AgreementPeriod can include value Year only once.\r\n```\r\n\r\nSo it appears whitespace is treated like a linefeed. If you could clarify expected behaviour that'd be great"}}
{"actor":{"display_login":"SensibleWood"}}