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
spawnia
8da3043702
Rename some test variable names
2019-06-23 21:26:38 +02:00
spawnia
03c33c9dc2
Consistently name the $rootValue argument
2019-06-23 17:30:57 +02:00
Vladimir Razuvaev
752010b341
Documentation fix ( #499 )
2019-06-19 15:06:45 +07:00
Vladimir Razuvaev
acc0442152
Merged branch 0.13.x into master
2019-06-12 15:45:44 +07:00
Markus Podar
cf90a8d338
Add Laravel GraphQL implementation
...
It's a spiritual success to the archived https://github.com/Folkloreatelier/laravel-graphql project which was previously removed in https://github.com/webonyx/graphql-php/pull/455
2019-05-28 22:15:29 +02:00
Vladimir Razuvaev
231919fbb2
Merge branch 'master' of https://github.com/webonyx/graphql-php
2019-05-10 12:03:22 +07:00
Vladimir Razuvaev
49b7aced87
Merge pull request #472 from terabaud/patch-1
...
Documentation fix: add missing semicolon in generated cache file
2019-05-06 12:21:57 +07:00
Lea Rosema
179944495e
fix: add missing semicolon in generated cache file
...
The `require $cacheFilename` statement leads to a PHP error due to a missing semicolon in the generated cache file.
2019-05-03 15:15:22 +02:00
Simon Podlipsky
0308cf0c0c
Fix invalid query in docs
2019-05-03 00:56:11 +02:00
spawnia
1acddf4e22
Mention default value definition for enum args in docs
2019-03-28 11:25:57 +01:00
Benedikt Franke
d4742a76e5
Remove deprecated tools and improve Lighthouse description
...
- The folklore package was archived by the owner.
- The lighthouse relay tools were integrated with the core
2019-03-14 11:16:15 +01:00
Vladimir Razuvaev
e6e9d9ea22
Merge branch 'master' of https://github.com/webonyx/graphql-php
2019-03-04 19:03:55 +07:00
Hughie Devore
4a39dadd0d
Add WP-GraphQL to complementary tools.
...
We utilized this repo for our work in WP GraphQL and wanted to let WP users know that it's available for use.
2019-02-28 13:23:23 -07:00
David Négrier
972532cf6c
Adding GraphQLite to the list of PHP Tools
2019-02-12 10:46:28 +01:00
Stefano Torresi
b1ab1820b6
Update docs intro verbiage
...
Just throwing my 2 cents: I don't think it's fair to say that "it's intended to be a replacement", given that multiple API paradigms can coexist in the same system and each of them have their trade-offs.
2019-02-04 12:38:31 +01:00
Vladimir Razuvaev
b2cea8b538
Merge pull request #402 from simPod/complementary-tools
...
Complementary tools
2018-11-27 18:09:57 +07:00
Vladimir Razuvaev
012082d1d9
Minor documentation fix
2018-11-27 17:53:03 +07:00
Vladimir Razuvaev
9bb8e73277
v0.13.0
2018-11-27 17:23:58 +07:00
Simon Podlipsky
396d3370dc
Mention simPod/GraphQL-Utils
...
Resolves #70
Closes #393
2018-11-23 11:00:26 +01:00
Simon Podlipsky
d591eccd9f
Clean complementary tools
2018-11-23 10:58:58 +01:00
Vladimir Razuvaev
6f8aed800e
Merge pull request #369 from nagledb/nagledb-doc-default-field-resolver
...
Updated default field resolver code in documentation.
2018-11-03 16:13:57 +07:00
David B. Nagle
4a096b14ec
Restore "Defining resolvers" documentation
...
Content was inadvertently removed in d6add77540
2018-11-02 21:10:54 -07:00
David B. Nagle
e32bbb726d
Updated default field resolver code in documentation.
...
Updated code to match definition in GraphQL\Executor\Executor::defaultFieldResolver. Change is notable because previous version did not indicate that the closure receives the $info variable.
2018-10-10 20:05:21 -07:00
Benedikt Franke
e7513e356a
Merge branch 'master' into patch-1
2018-09-03 21:25:36 +02:00
spawnia
326e0b4719
Add Debug::RETHROW_UNSAFE_EXCEPTIONS flag
...
This allows for a more granular default for which Exceptions are thrown, taking
the settings made through the ClientAware interface into account.
- Add docs
- Add a test case
- Differentiate clearly from other test
2018-09-03 21:18:04 +02:00
Jeremy Keith
33cb80335e
Remove the word "simply"
2018-09-01 22:32:02 +01:00
Bastian Konetzny
86fa8b1301
Fixed method signature in custom scalar docs
2018-08-16 09:43:15 +02:00
Simon Podlipsky
4c327a6c16
Fix CS in Validator folder
2018-08-08 10:44:05 +02:00
Stanislav Shupilkin
34500bd8b2
Add link to GraphQL IDE in complementary-tools.md
2018-07-19 19:24:55 +03:00
Vladimir Razuvaev
15672ab66c
Merge pull request #296 from danez/patch-2
...
fix: Correct namespace and link for DirectiveLocation in docs
2018-07-07 21:46:38 +07:00
Vasily Kartashov
ec77f439fb
Update complementary-tools.md
...
Adding reference to graphql-batch-processing library
2018-06-29 13:56:14 +04:00
Daniel Tschinder
1b6fb4c29c
fix: Correct namespace and link for DirectiveLocation in docs
2018-06-28 11:58:51 +02:00
Ben Zhu
72e8607e47
fix port bug
2018-05-09 11:18:43 +08:00
Kiko Seijo
98b4355b94
Fix misspell.
2018-04-16 20:52:38 +02:00
Kiko Seijo
d6b16ba0ec
Add Nuwave Lighthouse to Docs.
2018-04-16 20:49:49 +02:00
Adrien Crivelli
6c55f20f43
Use correct case for GitHub
2018-04-15 17:38:16 +09:00
Vladimir Razuvaev
2913f07050
Merge pull request #258 from ScullWM/patch-1
...
Fix Symfony PSR7 link
2018-03-26 12:17:24 +08:00
Thomas P
2a4c0a111a
Fix Symfony PSR7 link
...
Previous URL no longer exist and return a 404.
I've update the url to https://symfony.com/doc/current/components/psr7.html
2018-03-05 15:06:38 +01:00
Daniel Tschinder
61fe317faf
Update docs
2018-02-16 16:50:38 +01:00
Daniel Tschinder
97e8a9e200
Move schema validation into separate step (type constructors)
...
This is the second step of moving work from type constructors to the schema validation function.
ref: graphql/graphql-js#1132
2018-02-15 12:14:08 +01:00
Daniel Tschinder
9387548aa1
Better Predicates
...
Introduces new assertion functions for each kind of type mirroring the existing ones for the higher order types.
ref: graphql/graphql-js#1137
2018-02-13 18:04:03 +01:00
Daniel Tschinder
06c6c4bd97
Validate schema root types and directives
...
This moves validation out of GraphQLSchema's constructor (but not yet from other type constructors), which is responsible for root type validation and interface implementation checking.
Reduces time to construct GraphQLSchema significantly, shifting the time to validation.
This also allows for much looser rules within the schema builders, which implicitly validate while trying to adhere to flow types. Instead we use any casts to loosen the rules to defer that to validation where errors can be richer.
This also loosens the rule that a schema can only be constructed if it has a query type, moving that to validation as well. That makes flow typing slightly less nice, but allows for incremental schema building which is valuable
ref: graphql/graphql-js#1124
2018-02-13 10:42:35 +01:00
Daniel Tschinder
f661f38215
Fix unhandled error when parsing custom scalar literals.
...
This factors out the enum value validation from scalar value validation and ensures the same try/catch is used in isValidLiteralValue as isValidPHPValue and protecting from errors in valueFromAST.
ref: graphql/graphql-js#1126
2018-02-11 22:31:04 +01:00
Daniel Tschinder
d70a9a5e53
Update to match SDL changes
...
This changes the parsing grammar and validation rules to more correctly implement the current state of the GraphQL SDL proposal (facebook/graphql#90 )
ref: graphql/graphl-js#1102
2018-02-11 13:27:26 +01:00
Daniel Tschinder
d6add77540
Add Docs
2018-02-10 18:46:37 +01:00
Vladimir Razuvaev
8cd154776e
Added graphql-upload to the list of complementary tools
2018-01-19 13:58:07 +07:00
Vladimir Razuvaev
b534bfbbf1
Docs: Mention PSR15-compliant middleware in complementary tools section
2018-01-01 22:07:15 +07:00