Vladimir Razuvaev
|
90602b31ba
|
Added link to docs for generic error about unique type instance (#149)
|
2017-08-20 22:28:17 +07:00 |
|
Vladimir Razuvaev
|
1b4f983f3f
|
Improved docblock comments (suitable for reference docs generation)
|
2017-08-19 23:01:46 +07:00 |
|
Vladimir Razuvaev
|
9499e5ae8e
|
Suppressing Config deprecation warning in tests
|
2017-08-18 18:07:23 +07:00 |
|
Vladimir Razuvaev
|
f369d4e2d4
|
Reverted unnecessary breaking change
|
2017-08-15 23:39:07 +07:00 |
|
Vladimir Razuvaev
|
9931cde6d4
|
Tests for lazy type loading during query execution + related changed
|
2017-08-15 01:49:56 +07:00 |
|
Vladimir Razuvaev
|
8817d54e83
|
Validate that type loader always returns the same type instance as referenced in other parts of the schema
|
2017-08-14 22:32:07 +07:00 |
|
Vladimir Razuvaev
|
b9d3a11785
|
Extracted lazy schema test; minor related refactoring
|
2017-08-14 20:41:08 +07:00 |
|
Vladimir Razuvaev
|
f47db61907
|
Fully load all schema types in constructor when type loader is not set
|
2017-08-14 19:44:16 +07:00 |
|
Vladimir Razuvaev
|
884a8967f3
|
Type loader tests
|
2017-08-14 19:42:01 +07:00 |
|
Vladimir Razuvaev
|
20f8cab943
|
Removed schema descriptor (as lazy loading of types can work without it now)
|
2017-08-14 01:42:02 +07:00 |
|
Vladimir Razuvaev
|
f9eb14869f
|
Removed callbacks in field types (previously deprecated in #35)
|
2017-08-14 00:50:24 +07:00 |
|
Vladimir Razuvaev
|
6845b28a35
|
Deprecated GraphQL\Type\Definition\Config (#148)
|
2017-08-14 00:09:02 +07:00 |
|
Vladimir Razuvaev
|
ed3591c1a9
|
Fixed broken build
|
2017-08-13 23:24:23 +07:00 |
|
Vladimir Razuvaev
|
34eae0b891
|
Schema validation + tests (#148)
|
2017-08-13 23:04:03 +07:00 |
|
Vladimir Razuvaev
|
f911fac7b1
|
Default error reporting now includes "category" key for every error
|
2017-08-08 02:02:07 +07:00 |
|
Vladimir Razuvaev
|
38922dbbed
|
Default error formatter now returns "Internal server error" unless error is client-aware and safe to report directly to end-users
|
2017-07-18 20:57:30 +07:00 |
|
Vladimir Razuvaev
|
8e3d1eb29b
|
Merge branch 'master' of https://github.com/webonyx/graphql-php into v0.10
|
2017-07-18 00:42:52 +07:00 |
|
Vladimir Razuvaev
|
8fe26a1a21
|
String and ID types should not try to convert non-scalar values to string (#121)
|
2017-07-18 00:25:45 +07:00 |
|
Vladimir Razuvaev
|
296544089c
|
Moved GraphQL\Utils to GraphQL\Utils\Utils
|
2017-07-10 19:53:46 +07:00 |
|
Vladimir Razuvaev
|
9551569ffe
|
Merge branch 'lazy-types' into v0.10
# Conflicts:
# src/Executor/Executor.php
|
2017-07-10 17:11:41 +07:00 |
|
Vladimir Razuvaev
|
f569c6de2d
|
Spec compliance: coercion of Int values
|
2017-07-04 18:27:20 +07:00 |
|
Vladimir Razuvaev
|
90e1ea4d22
|
Added tools for warnings with ability to suppress them
|
2017-07-04 17:13:05 +07:00 |
|
Vladimir Razuvaev
|
1c41fb27ed
|
Added test for enums with null values
|
2017-07-04 16:27:40 +07:00 |
|
Vladimir Razuvaev
|
c3db8de9e7
|
Note about dunderscore becoming hard error in next version
|
2017-07-04 13:58:56 +07:00 |
|
Vladimir Razuvaev
|
c5484ae6f9
|
Convert error to warning for non-compliant usage of __ in names
|
2017-07-04 00:28:17 +07:00 |
|
Vladimir Razuvaev
|
34bd378c7e
|
Refactored executor logic related to isTypeOf
|
2017-07-04 00:09:32 +07:00 |
|
Vladimir Razuvaev
|
29c1132554
|
getValue() for EnumType (and getEnumValue() for TypeInfo)
|
2017-07-03 23:23:12 +07:00 |
|
Vladimir Razuvaev
|
445f579f09
|
Include expected type in isValidPHPValue error message
|
2017-07-03 18:24:58 +07:00 |
|
Vladimir Razuvaev
|
7937b15855
|
Fixed several typos
|
2017-07-03 18:04:32 +07:00 |
|
Vladimir Razuvaev
|
b471938f16
|
Consistent validation of type names + reject names starting with __
|
2017-07-03 18:04:08 +07:00 |
|
Jeremiah VALERIE
|
6d5b4e5a37
|
Use dedicated exception for scalar type parsing error
|
2017-05-29 10:32:48 +02:00 |
|
Decebal Dobrica
|
ca92ae4688
|
pass failing test
|
2017-03-16 15:41:29 +00:00 |
|
Decebal Dobrica
|
0bedebe392
|
fragment type caps
|
2017-03-16 15:09:09 +00:00 |
|
Decebal Dobrica
|
c51dda097a
|
fix tests typo
|
2017-03-16 15:00:01 +00:00 |
|
Decebal Dobrica
|
b9550d3ecb
|
replies aliased
|
2017-03-16 14:44:21 +00:00 |
|
Decebal Dobrica
|
7bed5ef4a8
|
add replies fragments
|
2017-03-16 14:43:47 +00:00 |
|
Vladimir Razuvaev
|
f77bd17eba
|
ResolveInfo: Take in account inline fragments in getFieldSelection()
|
2017-03-10 19:21:27 +07:00 |
|
Vladimir Razuvaev
|
ce9bf33f20
|
Ability to load types in schema on demand (#69)
|
2017-03-05 03:26:22 +07:00 |
|
petecoop
|
fc629a292d
|
BuildSchema and SchemaPrinter
|
2017-02-19 19:26:56 +00:00 |
|
vladar
|
2043cc7e75
|
Introduced type resolution strategies: eager and lazy (for #69)
|
2016-12-14 17:12:09 +07:00 |
|
vladar
|
ae57a72461
|
Deleted unused SchemaValidator
|
2016-12-08 06:05:40 +07:00 |
|
vladar
|
90e29ac704
|
Fixing tests for HHVM
|
2016-12-08 04:50:33 +07:00 |
|
vladar
|
51d816d280
|
Tests for Config
|
2016-12-08 04:16:13 +07:00 |
|
vladar
|
04550f805f
|
Differentiate between input values with no default and with default = null
|
2016-11-19 17:21:22 +07:00 |
|
vladar
|
e56eb6e10d
|
Replaced \UnexpectedValueException with GraphQL\Error\InvariantViolationException; Improved some instanceof checks
|
2016-11-01 23:40:37 +07:00 |
|
vladar
|
e4fa881cc3
|
Infer type name from class name for those using inheritance
|
2016-10-23 21:32:54 +07:00 |
|
vladar
|
c11f25794a
|
Deprecated callbacks in "type" option of field/argument definitions (see #35)
|
2016-10-23 00:49:25 +07:00 |
|
vladar
|
f443c6b1ba
|
Fixed broken test
|
2016-10-22 17:29:18 +07:00 |
|
vladar
|
2675b65095
|
Moved all error-related classes to separate namespace; fixed related broken tests
|
2016-10-21 16:40:56 +07:00 |
|
vladar
|
6d7a4a4f34
|
Fixed tests broken by recent changes to serialized error format
|
2016-10-21 15:28:24 +07:00 |
|