graphql-php/src
Daniel Tschinder 15374a31dd New: printError()
Lifted from / inspired by a similar change in graphql/graphql-js#722, this creates a new function `printError()` (and uses it as the implementation for `GraphQLError#toString()`) which prints location information in the context of an error.

This is moved from the syntax error where it used to be hard-coded, so it may now be used to format validation errors, value coercion errors, or any other error which may be associated with a location.

ref: graphql/graphql-js

BREAKING CHANGE: The SyntaxError message does not contain the codeframe anymore and only the message, (string) $error will print the codeframe.
2018-02-12 12:23:39 +01:00
..
Error New: printError() 2018-02-12 12:23:39 +01:00
Executor Fix unhandled error when parsing custom scalar literals. 2018-02-11 22:31:04 +01:00
Language New: printError() 2018-02-12 12:23:39 +01:00
Server Fix content-type header match when parsing PSR request. 2018-01-21 21:02:43 +01:00
Type Fix unhandled error when parsing custom scalar literals. 2018-02-11 22:31:04 +01:00
Utils Fix unhandled error when parsing custom scalar literals. 2018-02-11 22:31:04 +01:00
Validator Fix unhandled error when parsing custom scalar literals. 2018-02-11 22:31:04 +01:00
Deferred.php Support PHP7 error exceptions everywhere 2017-06-25 07:33:28 -07:00
deprecated.php Fixing broken build for 0.8 2016-11-25 18:45:38 +07:00
Error.php Fixing broken build for 0.8 2016-11-25 18:45:38 +07:00
GraphQL.php Documentation and docblock improvements 2017-08-20 16:00:44 +07:00
Schema.php Improved docblock comments (suitable for reference docs generation) 2017-08-19 23:01:46 +07:00
Server.php Initial pass on standard server implementation (also deprecated current GraphQL\Server which is undocumented anyway) 2017-07-14 19:44:18 +07:00
Utils.php Moved GraphQL\Utils to GraphQL\Utils\Utils 2017-07-10 19:53:46 +07:00