graphql-php/src/Utils
Daniel Tschinder 48c33302a8 (Potentially Breaking) Allow serializing scalars as null.
This changes the check for null/undefined to a check for undefined to determine if scalar serialization was successful or not, allowing `null` to be returned from serialize() without indicating error.

This is potentially breaking for any existing custom scalar which returned `null` from `serialize()` to indicate failure. To account for this change, it should either throw an error or return `undefined`.

ref: graphql/graphql-js#1104
2018-02-10 18:45:27 +01:00
..
AST.php (Potentially Breaking) Allow serializing scalars as null. 2018-02-10 18:45:27 +01:00
BlockString.php RFC: Block String 2018-02-10 18:43:26 +01:00
BuildSchema.php Fix parsing of default values in build-schema 2018-02-10 18:45:23 +01:00
FindBreakingChanges.php Add warnings for nullable changes 2018-02-10 18:45:18 +01:00
MixedStore.php Global config; descriptor moved to appropriate namespace; minor cleanup 2017-07-12 13:16:34 +07:00
PairSet.php Consistent coding style + doc block comments for Types and Utils 2016-10-17 19:14:29 +07:00
SchemaPrinter.php RFC: Descriptions as strings 2018-02-10 18:44:51 +01:00
TypeComparators.php Schema validation + tests (#148) 2017-08-13 23:04:03 +07:00
TypeInfo.php Fix how TypeInfo handles inline fragments without type 2018-02-09 14:32:44 +01:00
Utils.php Fix parsing of default values in build-schema 2018-02-10 18:45:23 +01:00