Commit Graph

848 Commits

Author SHA1 Message Date
Vladimir Razuvaev
0d93d190f8 Updated introspection test 2018-08-08 15:11:33 +07:00
Vladimir Razuvaev
56e91d008e Update printSchema for recent SDL change to implements 2018-08-08 15:07:08 +07:00
Vladimir Razuvaev
fcb9c24bb5 Fix astFromValue to correctly handle integers and strings 2018-08-08 14:57:44 +07:00
Vladimir Razuvaev
49ec89b28f Fixed broken description printing 2018-08-08 01:46:32 +07:00
Vladimir Razuvaev
03d7d1851c NonNull test: fixed naming for consistency 2018-08-08 01:43:23 +07:00
Vladimir Razuvaev
d9aee43129 Printer: created special function to add descriptions 2018-08-08 01:28:34 +07:00
Vladimir Razuvaev
ccb9486d21 SchemaParser: additional test case 2018-08-08 01:18:59 +07:00
Vladimir Razuvaev
a19fc3d208 RFC: SDL - Separate multiple inherited interfaces with & 2018-08-08 01:11:47 +07:00
Vladimir Razuvaev
8e02fdc537 Parser: allowLegacySDLEmptyFields option + minor naming tweaks 2018-08-08 00:41:20 +07:00
Vladimir Razuvaev
ea13c9edbf Updated PHPUnit to the latest version 2018-08-08 00:13:21 +07:00
Vladimir Razuvaev
c3d69c7c2b Fixed tests for PHPUnit 7+ 2018-08-07 23:59:48 +07:00
Vladimir Razuvaev
4227404aee Added test for useful error when returning invalid value from resolveType 2018-08-07 23:33:20 +07:00
Vladimir Razuvaev
f4008f0fb2 Error formatting: display error extensions under extensions key 2018-08-07 23:33:20 +07:00
Vladimir Razuvaev
39df711eac More definition tests (for type validation) 2018-08-07 23:32:26 +07:00
Jayme Rotsaert
942d4995c5 Fix: fatal Call to a member function getLocation(), before normal error is thrown 2018-08-01 18:16:48 +02:00
Vladimir Razuvaev
392b567f23
Merge pull request #317 from simPod/upgrade-phpunit
Upgrade PHPUnit
2018-07-31 01:15:46 +07:00
Vladimir Razuvaev
48b44fbdc5
Merge pull request #318 from robbieaverill/patch-1
FIX Ensure that __toString return value is always casted as a string
2018-07-30 13:29:34 +07:00
Robbie Averill
c962afc566
FIX Ensure that __toString return value is always casted as a string
`json_encode` can return false on failure, which causes PHP errors since `__toString` must return a string.
2018-07-30 16:36:09 +12:00
Vladimir Razuvaev
2f2b54a3d6 Perf: memoize collectSubfields 2018-07-30 00:36:10 +07:00
Simon Podlipsky
24b6b736b2
Upgrade PHPUnit 2018-07-29 19:01:39 +02:00
Vladimir Razuvaev
bedbd32fb7
Merge pull request #311 from Smolevich/update-complementary
Add link to GraphQL IDE in complementary-tools.md
2018-07-20 00:29:06 +07:00
Stanislav Shupilkin
34500bd8b2 Add link to GraphQL IDE in complementary-tools.md 2018-07-19 19:24:55 +03:00
Vladimir Razuvaev
0a6eaa1173
Merge pull request #306 from simPod/cs-server
Fixed code style for the /Server
2018-07-12 21:03:10 +07:00
Vladimir Razuvaev
c02c218c71
Merge pull request #304 from simPod/update-contibuting
Add CS info into Contributing docs
2018-07-12 20:56:34 +07:00
Simon Podlipsky
1b42de0658
@return self 2018-07-10 01:34:35 +03:00
Simon Podlipsky
ec2ff0d4bf
CS /Server 2018-07-10 01:34:35 +03:00
Simon Podlipsky
54456b1160
Add CS info into Contributing docs 2018-07-10 00:51:08 +03: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
e515964a73
Merge pull request #295 from simPod/refactoring
Executor: fixed code style / minor refactoring
2018-07-07 21:58:54 +07: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
Vladimir Razuvaev
a59b2803be
Merge pull request #298 from vasily-kartashov/master
Update complementary-tools.md
2018-07-07 21:46:04 +07:00
Vladimir Razuvaev
dbafdf849e
Merge pull request #300 from MySchoolManagement/support-multipart-formdata
Adds support for the multipart/form-data content type
2018-07-07 21:45:21 +07:00
Iain Mckay
750ce383ec Adds support for the multipart/form-data content type 2018-07-05 08:52:29 +02: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
Simon Podlipsky
cd1cc911e7
Refactoring 2018-06-26 14:37:19 +02:00
Vladimir Razuvaev
ddc3a01f09
Merge pull request #294 from danez/fix-block-printing
Use multi-line block for trailing quote
2018-06-25 23:45:29 +07:00
Daniel Tschinder
6e64983f82 Use multi-line block for trailing quote
ref: fdc10bb918 (diff-ebaed8492e8d884ee4f2255e39909568)
2018-06-25 14:26:53 +02:00
Vladimir Razuvaev
a032367e26 Disabled code style check of the whole project in Travis (for now) 2018-06-23 13:50:25 +07:00
Vladimir Razuvaev
5a90e9bd64
Merge pull request #288 from simPod/phpcs
RFC: PHP CS
2018-06-23 12:32:26 +07:00
Vladimir Razuvaev
89369fd8ec
Merge pull request #291 from danez/patch-1
Add one more breaking change in 0.12
2018-06-23 11:19:13 +07:00
Vladimir Razuvaev
6195029215
Merge pull request #292 from danez/patch-2
Fix wrong length being used in validator.
2018-06-23 11:18:07 +07:00
Daniel Tschinder
8ba146071d
Fix wrong length being used in validator. 2018-06-22 16:56:19 +02:00
Daniel Tschinder
3a4f520da7
Improve example 2018-06-22 15:46:42 +02:00
Daniel Tschinder
300b58093b
Add one more breaking change in 0.12 2018-06-22 15:45:21 +02:00
Simon Podlipsky
f44ff2cfe7
Add composer script for linting 2018-06-21 10:18:34 +02:00
Simon Podlipsky
4bc3b7885c
Fix CS in Error folder 2018-06-19 19:50:12 +02:00
Simon Podlipsky
fe5c3bdee5
Introduce PHPCS 2018-06-19 19:50:12 +02:00
Vladimir Razuvaev
e31947a452
Removed scrutinizer badge 2018-06-19 19:21:15 +07:00
Vladimir Razuvaev
f0c2f12222
Merge pull request #286 from simPod/cleanup-travis
Cleanup CI
2018-06-19 17:55:29 +07:00