Jeremiah VALERIE
|
944ccebc08
|
Fix Utils::printSafe with bool true
|
2018-02-02 08:18:46 +01:00 |
|
Ben Roberts
|
533b8b8b5f
|
testDetectsAdditionsToUnionType
|
2017-11-21 12:18:28 -05:00 |
|
Ben Roberts
|
c4ae03454a
|
testFindDangerousArgChanges
|
2017-11-21 11:50:11 -05:00 |
|
Ben Roberts
|
dbccf9b196
|
testDetectsRemovalOfInterfaces
|
2017-11-20 14:39:06 -05:00 |
|
Ben Roberts
|
0fd5abc833
|
testDetectsAdditionOfFieldArg
|
2017-11-20 13:48:21 -05:00 |
|
Ben Roberts
|
42d8ac07f9
|
testDetectsFieldArgumentTypeChange
|
2017-11-20 12:52:49 -05:00 |
|
Ben Roberts
|
4ea6cbe839
|
bugfix var ref
|
2017-11-17 17:35:33 -05:00 |
|
Ben Roberts
|
fc9c5e85aa
|
testDetectsRemovalOfFieldArgument
|
2017-11-17 17:18:26 -05:00 |
|
Ben Roberts
|
cac011246e
|
testDetectsValuesRemovedFromEnum
|
2017-11-17 16:24:04 -05:00 |
|
Ben Roberts
|
98ce1ccc69
|
testDetectsIfTypeWasRemovedFromUnion
|
2017-11-17 16:08:44 -05:00 |
|
Ben Roberts
|
dde2747918
|
testDetectsNonNullFieldAddedToInputType
|
2017-11-17 15:56:53 -05:00 |
|
Ben Roberts
|
cf4cccf4d6
|
testShouldDetectInputFieldChanges
|
2017-11-17 15:43:16 -05:00 |
|
Ben Roberts
|
68dbcc9ca3
|
testShouldDetectFieldChangesAndDeletions test
|
2017-11-17 14:29:47 -05:00 |
|
Ben Roberts
|
b2b5d6f080
|
findTypesThatChangedKind test
|
2017-11-17 13:04:01 -05:00 |
|
Ben Roberts
|
d9ce567cc8
|
findRemovedTypes test
|
2017-11-17 11:21:05 -05:00 |
|
Ben Roberts
|
4207adc098
|
change fns to static
|
2017-11-17 10:54:18 -05:00 |
|
Ben Roberts
|
6bdb7b7f80
|
improve docstrings
|
2017-11-16 17:44:08 -05:00 |
|
Ben Roberts
|
af60f1ee4d
|
finish mechanical conversions
|
2017-11-16 17:42:38 -05:00 |
|
Ben Roberts
|
a1325eeb3f
|
top level API functions, docstrings
|
2017-11-16 15:53:20 -05:00 |
|
Ben Roberts
|
55f6d6cf47
|
interfaces and enums
|
2017-11-16 15:25:25 -05:00 |
|
Ben Roberts
|
6e95b81aee
|
dangerous changes consts
|
2017-11-16 14:17:21 -05:00 |
|
Ben Roberts
|
e649ef307a
|
couple more functions
|
2017-11-16 14:15:39 -05:00 |
|
Ben Roberts
|
3811181f49
|
some functions converted over
|
2017-11-16 13:53:01 -05:00 |
|
Ben Roberts
|
7aebf2dbf7
|
initial porting
|
2017-11-15 16:12:56 -05:00 |
|
Vladimir Razuvaev
|
6050af4e67
|
Add support for directives applied on IDL & Schema
|
2017-09-20 17:43:06 +07:00 |
|
Vladimir Razuvaev
|
a1652468f0
|
Fixed minor error in docblock comment
|
2017-08-21 00:19:07 +07:00 |
|
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
|
de791536ce
|
Docblocks improvements
|
2017-08-20 22:10:13 +07:00 |
|
Vladimir Razuvaev
|
085516bdda
|
Moved GraphQL\Language\AST\Node::fromArray to GraphQL\Utils\AST::fromArray
|
2017-08-20 19:50:44 +07:00 |
|
Vladimir Razuvaev
|
1b4f983f3f
|
Improved docblock comments (suitable for reference docs generation)
|
2017-08-19 23:01:46 +07:00 |
|
Vladimir Razuvaev
|
e52fe8c384
|
BuildSchema::build() now accepts DocumentNode as well
|
2017-08-17 20:33:36 +07:00 |
|
Vladimir Razuvaev
|
b4d767bad6
|
Moved typeFromAST() to AST util
|
2017-08-17 02:14:55 +07:00 |
|
Vladimir Razuvaev
|
3971001f6d
|
Server: additional tests + related fixes
|
2017-08-15 20:59:48 +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
|
34eae0b891
|
Schema validation + tests (#148)
|
2017-08-13 23:04:03 +07:00 |
|
Vladimir Razuvaev
|
d3580e959e
|
Moved Schema to GraphQL\Type namespace (but preserved BC)
|
2017-08-12 21:40:03 +07:00 |
|
Vladimir Razuvaev
|
09070485c1
|
Added ability to decorate type configs in BuildSchema + made type creation lazy
|
2017-07-28 17:55:25 +07:00 |
|
Vladimir Razuvaev
|
1af902865b
|
AST: new NodeList class for collections of nodes (vs array) to enable effective conversion of libgraphqlparser output to our AST tree
|
2017-07-21 22:29:59 +07:00 |
|
Vladimir Razuvaev
|
e6e531b88b
|
Server: throw only when there is a configuration or logic error (invariant violation)
|
2017-07-19 19:30:39 +07:00 |
|
Vladimir Razuvaev
|
f8c3195e54
|
Granular methods for HTTP request parsing + tests
|
2017-07-16 19:04:58 +07:00 |
|
Vladimir Razuvaev
|
794d3672ef
|
Initial pass on standard server implementation (also deprecated current GraphQL\Server which is undocumented anyway)
|
2017-07-14 19:44:18 +07:00 |
|
Vladimir Razuvaev
|
a3b40db0fb
|
Enhanced Utils::printSafe() to output more information about arrays
|
2017-07-14 15:16:43 +07:00 |
|
Vladimir Razuvaev
|
aaa5b7af41
|
Global config; descriptor moved to appropriate namespace; minor cleanup
|
2017-07-12 13:16:34 +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
|
3beeb06340
|
Merge branches 'master' and 'v0.10' of https://github.com/webonyx/graphql-php into v0.10
# Conflicts:
# src/Utils/MixedStore.php
|
2017-07-06 19:50:23 +07:00 |
|
Vladimir Razuvaev
|
bc6a7a3d1d
|
Fix: allow MixedStore to accept true, false, null and floats as keys + related tests
|
2017-07-06 19:29:33 +07:00 |
|
Vladimir Razuvaev
|
24bcc65314
|
SchemaPrinter: reverted sorting of fields in printed version (as it breaks s = parse(print(s)) rule)
|
2017-07-05 19:45:02 +07:00 |
|
Vladimir Razuvaev
|
ea94ee7515
|
Utility function getDirectiveValues + related refactoring
|
2017-07-05 19:33:25 +07:00 |
|
Vladimir Razuvaev
|
0b7d55c30d
|
SchemaPrinter: sort fields before printing to get more stable diff
|
2017-07-05 18:33:16 +07:00 |
|
Vladimir Razuvaev
|
b47c87f793
|
Allow null values for enums
|
2017-07-04 20:19:52 +07:00 |
|
Vladimir Razuvaev
|
76e182e616
|
Forbid duplicate type definitions
|
2017-07-04 14:01:00 +07:00 |
|
Vladimir Razuvaev
|
32376dd6ee
|
Fix: type safety for TypeInfo
|
2017-07-04 13:25:01 +07:00 |
|
Vladimir Razuvaev
|
29c1132554
|
getValue() for EnumType (and getEnumValue() for TypeInfo)
|
2017-07-03 23:23:12 +07:00 |
|
Vladimir Razuvaev
|
14ef8ef835
|
Fixed typo in buildSchema
|
2017-07-03 23:09:50 +07:00 |
|
Vladimir Razuvaev
|
ce9bf33f20
|
Ability to load types in schema on demand (#69)
|
2017-03-05 03:26:22 +07:00 |
|
Vladimir Razuvaev
|
3f909e3e11
|
Separate utility for extractTypes
|
2017-02-24 16:29:28 +07:00 |
|
Vladimir Razuvaev
|
416733b4db
|
Separate utility for extractTypes
|
2017-02-24 16:22:33 +07:00 |
|
petecoop
|
664af3d44a
|
use constants
|
2017-02-20 10:31:11 +00:00 |
|
petecoop
|
fc629a292d
|
BuildSchema and SchemaPrinter
|
2017-02-19 19:26:56 +00:00 |
|
vladar
|
660200ed50
|
GraphQL\Language\AST\NodeType -> GraphQL\Language\AST\NodeKind
|
2016-11-19 17:31:47 +07:00 |
|
vladar
|
0ab55ec0d9
|
Replaced "AST" with "Node" in variable names for better readability
|
2016-11-19 06:47:55 +07:00 |
|
vladar
|
8d696edee5
|
Renamed AST nodes to *Node to disambiguate types
|
2016-11-19 06:12:18 +07:00 |
|
vladar
|
439959b292
|
Enforce input coercion rules
|
2016-11-19 04:15:40 +07:00 |
|
vladar
|
8a676cde99
|
Support for NullValue
|
2016-11-18 23:59:28 +07:00 |
|
vladar
|
5d889ccacd
|
Reverted several breaking changes from #75; tests are green
|
2016-11-16 18:37:35 +07:00 |
|
vladar
|
1927102183
|
Minor executor tweaks
|
2016-11-07 19:52:44 +07:00 |
|
vladar
|
3b0e52f254
|
Updated AST Utils to match the behavior of reference implementation
|
2016-11-02 00:11:33 +07:00 |
|
vladar
|
e56eb6e10d
|
Replaced \UnexpectedValueException with GraphQL\Error\InvariantViolationException; Improved some instanceof checks
|
2016-11-01 23:40:37 +07:00 |
|
vladar
|
0a182ac53c
|
Improved enums (now they can handle complex values)
|
2016-10-19 01:21:47 +07:00 |
|
vladar
|
357166791a
|
Consistent coding style + doc block comments for Types and Utils
|
2016-10-17 19:14:29 +07:00 |
|
vladar
|
e7c7924dc0
|
New AST utils + test
|
2016-09-14 18:41:02 +07:00 |
|
vladar
|
8ab7a9a438
|
Implemented covariant return types for interface fields (#23)
|
2016-09-14 18:41:02 +07:00 |
|
vladar
|
f1ddc98390
|
Updating validator rules for april2016 spec
|
2016-09-14 18:41:02 +07:00 |
|
vladar
|
841d6ab851
|
Updated to latest version of graphql-js
|
2015-08-17 20:01:55 +06:00 |
|
vladar
|
022c962942
|
New language features (NamedType, directives rethinking)
|
2015-08-17 02:53:11 +06:00 |
|
vladar
|
b2b08f2a07
|
Fixed missing cleanup in TypeInfo::leave
|
2015-07-16 15:16:27 +06:00 |
|
vladar
|
20c482ce2f
|
Version 0.1
|
2015-07-15 23:05:46 +06:00 |
|