Vladimir Razuvaev
|
54064b37b3
|
Merge pull request #511 from spawnia/scalar-coercion
Resolve todo in Boolean coercion, add explanation, update test names to match reference implementation
|
2019-07-01 13:03:03 +07:00 |
|
Vladimir Razuvaev
|
f7443b6f0c
|
Merge pull request #510 from spawnia/split-into-multiline
Split some long lines into multiples
|
2019-07-01 12:56:45 +07:00 |
|
Vladimir Razuvaev
|
9704baf422
|
Merge pull request #508 from spawnia/consistency-and-clarity
Nonfunctional changes to improve consistency and clarity
|
2019-07-01 12:52:21 +07:00 |
|
Vladimir Razuvaev
|
ed1d835bd5
|
Merge pull request #507 from spawnia/resolver-arguments-order
Fix misleading comments and docs about resolver arguments: Context is 3rd, ResolveInfo is 4th
|
2019-07-01 12:50:01 +07:00 |
|
spawnia
|
e704f8cc5c
|
Split some long lines into multiples
|
2019-06-23 21:05:58 +02:00 |
|
spawnia
|
a34bb68d65
|
Resolve todo in Boolean coercion, add explanation, update test names to match reference implementation
|
2019-06-23 21:03:17 +02:00 |
|
spawnia
|
65e4488ce8
|
Reformat some comments
|
2019-06-23 18:41:47 +02:00 |
|
spawnia
|
91b72f145d
|
Context is the 3rd, ResolveInfo the 4th resolver argument
|
2019-06-23 18:25:02 +02:00 |
|
spawnia
|
6e91e2181c
|
Spread ternary expressions across multiple lines
|
2019-06-23 18:04:30 +02:00 |
|
Vladimir Razuvaev
|
ed1746e800
|
Error handling and schema validation improvements (#404)
|
2019-06-19 18:59:51 +07:00 |
|
Vladimir Razuvaev
|
d1d4455eaa
|
Fixed warning added by one of the previous commits
|
2019-06-19 15:49:22 +07:00 |
|
Vladimir Razuvaev
|
0a71f9fba9
|
Merge pull request #496 from simPod/fixes
Another code cleanup
|
2019-06-17 16:48:04 +07:00 |
|
Simon Podlipsky
|
6a5325a448
|
Another code cleanup
|
2019-06-12 15:43:17 +02:00 |
|
Aurélien David
|
e87460880c
|
QueryPlan can now be used on interfaces not only objects.
It's often the case to use interfaces in queries:
interface Pet { name: String! }
Query {
pets: [Pet]
}
|
2019-06-12 11:59:42 +02:00 |
|
spawnia
|
c9faa3489b
|
Add schema validation: Input Objects must not contain non-nullable circular references
Spec change: https://github.com/graphql/graphql-spec/pull/445
Reference implementation: https://github.com/graphql/graphql-js/pull/1359
|
2019-06-10 22:15:23 +02:00 |
|
Simon Podlipsky
|
06529e1924
|
Upgrade Doctrine CS
|
2019-03-28 12:18:35 +01:00 |
|
Simon Podlipsky
|
23ece09407
|
Upgrade PHPStan
|
2019-03-18 13:02:58 +01:00 |
|
Vladimir Razuvaev
|
29eba82093
|
Merge pull request #436 from keulinho/add-queryplan
Added query plan
|
2019-03-09 21:37:44 +07:00 |
|
Jonas Elfering
|
5b3f44c7a3
|
add queryplan
|
2019-02-01 22:39:00 +01:00 |
|
Jan Bukva
|
edb5268583
|
Fix return annotation of resolveType() in InterfaceType
|
2019-01-28 22:46:20 +01:00 |
|
Erik Gaal
|
9a0dbff26b
|
Add NullableType interface
|
2018-12-05 11:43:27 +01:00 |
|
Simon Podlipsky
|
376e927505
|
Document BC and fix types in ResolveInfo
|
2018-11-27 14:05:55 +01:00 |
|
Vladimir Razuvaev
|
e1b4d438db
|
Ability to override internal types (closes #401)
|
2018-11-27 15:39:20 +07:00 |
|
Vladimir Razuvaev
|
7c19777dff
|
Ensure interface has at least 1 concrete type
|
2018-11-21 20:11:11 +07:00 |
|
Jakub Kulhan
|
b5d3341995
|
Pluggable executor implementations; new faster executor using coroutines
|
2018-11-06 23:32:50 +01:00 |
|
Vladimir Razuvaev
|
23169603fc
|
Removed old experimental code
|
2018-11-03 23:25:23 +07:00 |
|
Simon Podlipsky
|
644f97634b
|
Little fixes
|
2018-10-22 23:37:28 +02:00 |
|
Simon Podlipsky
|
90d0156291
|
Use PHPStan strict rules
Two rules excluded: missing type hints and empty() usage
|
2018-10-09 17:46:55 +02:00 |
|
Torsten Blindert
|
e7de069bd5
|
FEATURE: SchemaExtender (#362)
FEATURE: SchemaExtender (#362)
|
2018-10-08 15:55:20 +02:00 |
|
Simon Podlipsky
|
18a5639cb7
|
Fix CS in src/Type
|
2018-10-05 10:47:57 +02:00 |
|
Torsten Blindert
|
a3d050ff6b
|
TASK: Code style
|
2018-10-02 09:09:12 +02:00 |
|
Torsten Blindert
|
0262f59a3f
|
BUGFIX: Directives args have to be FieldArguments, not FieldDefinitions
|
2018-10-01 20:28:05 +02:00 |
|
Torsten Blindert
|
b1cd086177
|
TASK: Allow Schema extensions
|
2018-10-01 19:46:36 +02:00 |
|
Torsten Blindert
|
0c33cfa88f
|
TASK: Allow UnionType extensions
|
2018-10-01 19:45:48 +02:00 |
|
Torsten Blindert
|
1dc2b939cb
|
TASK: Allow ScalarType extensions
|
2018-10-01 19:45:36 +02:00 |
|
Torsten Blindert
|
b0ee36feb4
|
TASK: Allow InputObjectType extensions
|
2018-10-01 19:45:20 +02:00 |
|
Torsten Blindert
|
1d15ae7f3e
|
TASK: Allow EnumType extensions
|
2018-10-01 19:44:55 +02:00 |
|
Jeremiah VALERIE
|
18954ea655
|
Fix typehint
|
2018-09-02 17:19:16 +02:00 |
|
Jeremiah VALERIE
|
05dbc0fb96
|
Fix sprintf call
|
2018-09-02 17:19:16 +02:00 |
|
Simon Podlipsky
|
7dbd72cebf
|
Check CS in the whole project
Closes #284
|
2018-09-02 16:46:58 +02:00 |
|
Simon Podlipsky
|
00d547dc06
|
Fix CS in src/Type
|
2018-08-27 18:14:07 +02:00 |
|
Vladimir Razuvaev
|
8817e8e010
|
Throws descriptive error when non-type used instead of interface
|
2018-08-22 18:53:25 +07:00 |
|
Vladimir Razuvaev
|
d44ec9e809
|
Merge branch 'master' of https://github.com/webonyx/graphql-php
# Conflicts:
# src/Utils/AST.php
|
2018-08-21 22:10:50 +07:00 |
|
Vladimir Razuvaev
|
64c463e889
|
Schema: getTypeMap() should include input types defined in directive arguments
|
2018-08-08 15:47:42 +07:00 |
|
Simon Podlipsky
|
4c327a6c16
|
Fix CS in Validator folder
|
2018-08-08 10:44:05 +02:00 |
|
Vladimir Razuvaev
|
39df711eac
|
More definition tests (for type validation)
|
2018-08-07 23:32:26 +07:00 |
|
Théo FIDRY
|
c1a62fdb05
|
Allow stringeable objects to be serialized by StringType
Closes #302
(cherry picked from commit c258109)
|
2018-07-08 04:44:10 +07:00 |
|
Vladimir Razuvaev
|
1b22f95a86
|
Removed previously deprecated classes/methods
|
2018-05-27 19:13:32 +07:00 |
|
Daniel Tschinder
|
62748279d4
|
Cleanup imports
|
2018-04-24 15:38:44 +02:00 |
|
Daniel Tschinder
|
f140149127
|
Make Types throw instead of returning Utils::undefined()
|
2018-04-24 15:14:31 +02:00 |
|