Vladimir Razuvaev
86f01ac1a6
Merge pull request #113 from pascaldevink/add_directives_to_complexity_calculation
...
Use directives when calculating query complexity
2017-04-25 14:49:13 +07:00
Pascal de Vink
11a1b13b72
Use directives to calculate query complexity
2017-04-24 14:21:58 +02:00
Vladimir Razuvaev
5948d5198e
Merge pull request #106 from AndreasHeiberg/fix-to-string-node
...
Fix __toString() for AST Nodes
2017-04-24 18:04:02 +07:00
Andreas Heiberg
ed8bf4e2b2
fix __toString() for AST Node
...
previously it would only shallowly convert to array causing json_encode to fail
2017-04-07 11:34:33 +01:00
Vladimir Razuvaev
cb40df220e
Merge pull request #101 from PowerKiKi/patch-1
...
Make Hello World compatible with GraphiQL
2017-03-22 13:41:59 +07:00
Adrien Crivelli
5ca69c6ec8
Make Hello World compatible with GraphiQL
...
This allow newcomers to follow documentation to get started and then
keep exploring with GraphiQL
Closes #87
2017-03-22 10:53:00 +09:00
Vladimir Razuvaev
ac5c518cbe
Merge pull request #100 from PowerKiKi/patch-1
...
Simplify install instructions
2017-03-21 13:18:58 +07:00
Adrien Crivelli
070ab7d430
Simplify install instructions
...
Composer can create `composer.json` if missing, and letting
composer pick the latest version by itself is more future proof than
hardcoding a version that need to be changed on each release.
2017-03-20 23:15:17 +09:00
Vladimir Razuvaev
7ef9f91672
Merge pull request #98 from decebal/master
...
Make ResolveInfo::getFieldSelection() to merge field sub-selections defined in different fragments
2017-03-16 23:51:38 +07: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
Decebal Dobrica
51e67d49c7
php merge for associative array non-integer intexed
2017-03-16 10:21:26 +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
Vladimir Razuvaev
d5866e194a
Merge branch 'master' of https://github.com/webonyx/graphql-php into lazy-types
2017-03-04 17:36:28 +07:00
Vladimir Razuvaev
827bfa7907
Server: added missing return $this;
statements
2017-02-27 18:19:09 +07:00
Vladimir Razuvaev
752668df8d
Removed phpbench from composer to satisfy PHP5.4 requirement
2017-02-25 02:55:52 +07:00
Vladimir Razuvaev
66acb73a47
Added first meaningful benchmarks to have some grounds for future performance optimizations
2017-02-25 02:32:11 +07:00
Vladimir Razuvaev
34ca931533
Sanity check to ensure that GraphQL query is string
2017-02-24 17:14:30 +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
Vladimir Razuvaev
dd4acfd3b6
Merge pull request #92 from webmozart/sync-promise-adapter-indices
...
Fixed SyncPromiseAdapter::all() to not change the order of arrays
2017-02-24 01:06:35 +07:00
Bernhard Schussek
e35b57601d
Fixed SyncPromiseAdapter::all() to not change the order of arrays
2017-02-23 11:45:13 +01:00
Vladimir Razuvaev
ed41a4ce43
Merge pull request #91 from petecoop/build-schema
...
Build Schema & Schema Printer
2017-02-21 15:25:14 +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
Vladimir Razuvaev
0bd7c9d405
Merge pull request #89 from aldumas/assign_fix
...
Fixed Utils::assign() bug relating to detecting missing required keys
2017-02-14 02:51:33 +07:00
Adam Dumas
97674cbbb9
Fixed Utils::assign() bug relating to detecting missing required keys
2017-02-13 12:50:34 -05:00
Vladimir Razuvaev
c2f0749d8e
Merge pull request #88 from jane-olszewska/schema-description-in-comments
...
Schema Definition Language: element descriptions can be set through comments
2017-02-07 13:01:36 +07:00
jane-olszewska
008fd20498
Added test for adding a schema element description in comments
2017-02-06 19:11:12 +00:00
jane-olszewska
060dc51595
Set schema element description to strings retrieved from a continuous chunk of comment tokens immediately preceding the element
2017-02-06 18:33:21 +00:00
jane-olszewska
dd31ab2b80
Added a description field to schema type definition classes
2017-02-06 18:33:18 +00:00
jane-olszewska
bbb5cf1e4d
Fixed comment token extraction: will no longer read one character from the next line
2017-02-06 18:13:43 +00:00
vladar
c18cd16960
GraphQL\Server: set PromiseAdapter before executing query
2017-01-26 19:24:53 +07:00
vladar
d10e933a00
Merge branch 'master' of https://github.com/webonyx/graphql-php
2017-01-26 19:18:40 +07:00
vladar
c545474715
Fixed DocBlock comment
2017-01-26 19:00:10 +07:00
vladar
2ddae2bf88
Added EXPERIMENTAL note for code related to type resolution strategies
2017-01-26 18:59:14 +07:00
vladar
b4e6630c1d
PHPUnit: Replaced deprecated method getMock() with getMockBuilder()
2017-01-26 18:48:23 +07:00
Vladimir Razuvaev
81d28f767a
Merge pull request #86 from danez/patch-1
...
Fix typo in DocBlock
2017-01-26 17:57:06 +07:00
Daniel Tschinder
1ff9c429d6
Fix typo in DocBlock
2017-01-26 11:18:53 +01:00
vladar
fa9611738d
v0.9.0
2017-01-19 19:28:41 +07:00
vladar
e2875953e1
Tests for new GraphQL\Server facade
2017-01-19 19:23:00 +07:00
vladar
8e75cc3d60
Merge branch 'master' of https://github.com/webonyx/graphql-php
2017-01-19 11:55:10 +07:00
Vladimir Razuvaev
ddea764ff5
Merge pull request #84 from OwlyCode/php7-errors-handling
...
Added compatibility with php7 error handling
2017-01-14 12:31:02 +07:00
OwlyCode
d022b19b4e
Added compatibility with php7 error handling.
2017-01-12 17:18:25 +01:00
Vladimir Razuvaev
5be0944453
Merge pull request #83 from bertrandgauthier/master
...
Small correction in examples
2017-01-06 22:57:41 +07:00
bertrandgauthier
1adfe21185
Small correction in examples
2017-01-06 12:50:21 +01:00