{"action":"created","issue":{"url":"https://api.github.com/repos/raml-org/raml-js-parser-2/issues/256","repository_url":"https://api.github.com/repos/raml-org/raml-js-parser-2","labels_url":"https://api.github.com/repos/raml-org/raml-js-parser-2/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/raml-org/raml-js-parser-2/issues/256/comments","events_url":"https://api.github.com/repos/raml-org/raml-js-parser-2/issues/256/events","html_url":"https://github.com/raml-org/raml-js-parser-2/issues/256","id":158430222,"number":256,"title":"Use white-spaces and single quotes in error messages","user":{"login":"sichvoge","id":498114,"avatar_url":"https://avatars.githubusercontent.com/u/498114?v=3","gravatar_id":"","url":"https://api.github.com/users/sichvoge","html_url":"https://github.com/sichvoge","followers_url":"https://api.github.com/users/sichvoge/followers","following_url":"https://api.github.com/users/sichvoge/following{/other_user}","gists_url":"https://api.github.com/users/sichvoge/gists{/gist_id}","starred_url":"https://api.github.com/users/sichvoge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sichvoge/subscriptions","organizations_url":"https://api.github.com/users/sichvoge/orgs","repos_url":"https://api.github.com/users/sichvoge/repos","events_url":"https://api.github.com/users/sichvoge/events{/privacy}","received_events_url":"https://api.github.com/users/sichvoge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/raml-org/raml-js-parser-2/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/raml-org/raml-js-parser-2/labels/error-message","name":"error-message","color":"1d76db"},{"url":"https://api.github.com/repos/raml-org/raml-js-parser-2/labels/Major","name":"Major","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"KonstantinSviridov","id":6206034,"avatar_url":"https://avatars.githubusercontent.com/u/6206034?v=3","gravatar_id":"","url":"https://api.github.com/users/KonstantinSviridov","html_url":"https://github.com/KonstantinSviridov","followers_url":"https://api.github.com/users/KonstantinSviridov/followers","following_url":"https://api.github.com/users/KonstantinSviridov/following{/other_user}","gists_url":"https://api.github.com/users/KonstantinSviridov/gists{/gist_id}","starred_url":"https://api.github.com/users/KonstantinSviridov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KonstantinSviridov/subscriptions","organizations_url":"https://api.github.com/users/KonstantinSviridov/orgs","repos_url":"https://api.github.com/users/KonstantinSviridov/repos","events_url":"https://api.github.com/users/KonstantinSviridov/events{/privacy}","received_events_url":"https://api.github.com/users/KonstantinSviridov/received_events","type":"User","site_admin":false},"assignees":[{"login":"KonstantinSviridov","id":6206034,"avatar_url":"https://avatars.githubusercontent.com/u/6206034?v=3","gravatar_id":"","url":"https://api.github.com/users/KonstantinSviridov","html_url":"https://github.com/KonstantinSviridov","followers_url":"https://api.github.com/users/KonstantinSviridov/followers","following_url":"https://api.github.com/users/KonstantinSviridov/following{/other_user}","gists_url":"https://api.github.com/users/KonstantinSviridov/gists{/gist_id}","starred_url":"https://api.github.com/users/KonstantinSviridov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KonstantinSviridov/subscriptions","organizations_url":"https://api.github.com/users/KonstantinSviridov/orgs","repos_url":"https://api.github.com/users/KonstantinSviridov/repos","events_url":"https://api.github.com/users/KonstantinSviridov/events{/privacy}","received_events_url":"https://api.github.com/users/KonstantinSviridov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-06-03T18:48:01Z","updated_at":"2016-09-30T17:41:56Z","closed_at":"2016-09-30T17:41:46Z","body":"A lot error messages contain no white-spaces between the static message and the dynamic part usually a name or another error message wrapped into it. For example: \"specifying unknown facet:discriminator\". As you can see, there is no white-space between the colon and \"discriminator\". That sometime makes reading harder.\r\n\r\nAs you can also see in there, there are no single quotes around the node name to indicate that its not part of the static message. There are cases where the dynamic injected part is part of the error message somewhere in between without a clear separation. It would be good if we can use single quotes so that you might get something like: \"your example 'input1' does not conform to the provided schema\"."},"comment":{"url":"https://api.github.com/repos/raml-org/raml-js-parser-2/issues/comments/250806951","html_url":"https://github.com/raml-org/raml-js-parser-2/issues/256#issuecomment-250806951","issue_url":"https://api.github.com/repos/raml-org/raml-js-parser-2/issues/256","id":250806951,"user":{"login":"KonstantinSviridov","id":6206034,"avatar_url":"https://avatars.githubusercontent.com/u/6206034?v=3","gravatar_id":"","url":"https://api.github.com/users/KonstantinSviridov","html_url":"https://github.com/KonstantinSviridov","followers_url":"https://api.github.com/users/KonstantinSviridov/followers","following_url":"https://api.github.com/users/KonstantinSviridov/following{/other_user}","gists_url":"https://api.github.com/users/KonstantinSviridov/gists{/gist_id}","starred_url":"https://api.github.com/users/KonstantinSviridov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KonstantinSviridov/subscriptions","organizations_url":"https://api.github.com/users/KonstantinSviridov/orgs","repos_url":"https://api.github.com/users/KonstantinSviridov/repos","events_url":"https://api.github.com/users/KonstantinSviridov/events{/privacy}","received_events_url":"https://api.github.com/users/KonstantinSviridov/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T17:41:56Z","updated_at":"2016-09-30T17:41:56Z","body":"to be released in 1.1.4"}}
{"actor":{"display_login":"KonstantinSviridov"}}