spawnia
c069d20ca7
And a few more in tests
2019-06-30 23:09:32 +02:00
spawnia
19a37609f4
Add a few more
2019-06-30 23:08:24 +02:00
spawnia
24f236403a
More consistent naming
2019-06-30 20:54:56 +02:00
Simon Podlipsky
68bfde953d
PHPBench
2018-09-26 11:18:14 +02:00
Daniel Tschinder
f140149127
Make Types throw instead of returning Utils::undefined()
2018-04-24 15:14:31 +02:00
sarukuku
9b94ac2f06
Better argument order for curl. Related to #264 .
2018-04-04 16:34:05 +03:00
sarukuku
f2678b4a10
Add content type header to curl. This fixes #264 .
2018-04-04 16:26:57 +03:00
Daniel Tschinder
27ce24b5fe
Fix parsing of default values in build-schema
...
* Generalizes building a value from an AST, since "scalar" could be misleading, and supporting variable values within custom scalar literals can be valuable.
* Replaces isNullish with isInvalid since `null` is a meaningful value as a result of literal parsing.
* Provide reasonable default version of 'parseLiteral'
ref: 714ee980aa
ref: https://github.com/graphql/graphql-js/pull/903
# Conflicts:
# src/Utils/BuildSchema.php
# tests/Utils/BuildSchemaTest.php
2018-02-10 18:45:23 +01:00
Gabi DJ
9b449745ab
Update graphql.php
2017-10-18 16:34:14 +03:00
Gabi DJ
7f54b1f7e3
removed redundant code and comments
...
removed redundant code and comments from PR
2017-10-18 16:32:43 +03:00
Gabi DJ
cf3ca86246
$data
Unsupported operand types error fix
...
the operator `+=` only works like `array_merge ($left, $right) ;` if both variables are arrays
2017-10-17 16:47:26 +03:00
Vladimir Razuvaev
199caf3080
New example for server usage
2017-08-20 02:33:16 +07:00
Vladimir Razuvaev
8098b2b886
Fixing examples
2017-08-20 02:31:11 +07:00
Vladimir Razuvaev
6845b28a35
Deprecated GraphQL\Type\Definition\Config
( #148 )
2017-08-14 00:09:02 +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
Gareth Jones
81376e7c34
Document shorthand usage
2017-07-10 21:14:34 +01:00
Vladimir Razuvaev
296544089c
Moved GraphQL\Utils to GraphQL\Utils\Utils
2017-07-10 19:53:46 +07:00
Vladimir Razuvaev
f668300cd8
Fixed minor bug in blog example ( #114 )
2017-06-27 20:04:12 +07:00
Rohit Shinde
06183635f5
Fix test commands
2017-05-11 13:35:25 +05:30
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
bertrandgauthier
1adfe21185
Small correction in examples
2017-01-06 12:50:21 +01:00
bertrandgauthier
8df665610b
Small correction in examples
2017-01-06 12:46:37 +01:00
vladar
0969073b8a
Reverted DefinitionContainer (YAGNI)
2016-11-25 16:54:57 +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
ccad34517c
Work in progress on better docs (added section on query execution and error handling)
2016-11-08 20:02:10 +07:00
vladar
360bf39c9b
Simplified blog example
2016-11-06 21:33:13 +07:00
vladar
eb3f54b98e
Better custom scalars in blog example + more comments
2016-11-02 05:10:04 +07:00
vladar
29670b378b
Updated blog example: demonstrated and commented inheritance vs composition options; added describing comments
2016-10-24 17:07:52 +07:00
vladar
f9740c5f2c
Work in progress on better docs
2016-10-23 22:16:32 +07:00
vladar
221ec6f792
Renamed index.php to graphql.php for consistency in blog example
2016-10-23 18:35:31 +07:00
vladar
1787c1377d
Added hello world example
2016-10-23 18:34:51 +07:00
vladar
5125741899
Several other updates to blog example
2016-10-23 05:30:31 +07:00
vladar
85d2c2cef3
Updated blog example
2016-10-23 05:13:55 +07:00
vladar
d41687913a
First official example that should help newcomers to start (incomplete yet, but still useful)
2016-10-21 18:43:11 +07:00