Ben Iofel and Sheetal Nandi
c64a754835
@types/graphql: is*Type() predicates can take null and undefined ( #27785 )
...
* @types/graphql: is*Type() predicates can take null and undefined
* add tests
* use any
* assert*Type() should take any
* add tests
2018-08-03 10:57:51 -07:00
Mohamed Hegazy and GitHub
a3ab1ef816
Revert "update to graphql v14.0.0 (WIP) ( #26601 )" ( #27027 )
...
This reverts commit ff2bcafdd0 .
2018-07-03 12:22:07 -07:00
Curtis Layne and Mohamed Hegazy
deb7d8beaf
[@types/graphql] Add generic type on ExecutionResult ( #26763 )
...
* [@types/graphql] Add generic type on ExecutionResult
Without a generic type on ExecutionResult we can't have typesafe
operations.
* Add default type to the generic so it's not a breaking change
* Don't make TData readonly
2018-07-03 10:02:54 -07:00
Zhao Lei and Mohamed Hegazy
ff2bcafdd0
update to graphql v14.0.0 (WIP) ( #26601 )
...
GraphQL.js v14.0.0 has not been released yet, this commit is sync to https://github.com/graphql/graphql-js/commit/9b7807a8ff20c6f2565577af8d90530acc49230d
2018-07-02 09:38:20 -07:00
Brad Zacher and Sheetal Nandi
7aa84a6417
[@types/graphql] Switch void for more correct undefined | null typing ( #25639 )
...
* [@types/graphql] Switch void for more correct `undefined | null` typing
* Moved Maybe.d.ts to a better place
* Moved and fixed up Maybe imports
2018-05-10 12:58:19 -07:00
Firede
3ccca87866
Fixed types.
2018-03-28 17:49:44 +08:00
Firede
fe4997e85f
update exports, bump version: 0.12 -> 0.13
2018-03-28 02:26:25 +08:00
Firede
a3021f8040
update graphql/validation/* -> v0.13.2.
...
https://github.com/graphql/graphql-js/tree/v0.13.2/src/validation
2018-03-28 02:01:32 +08:00
Firede
2a02f2f7ee
update graphql/graphql -> v0.13.2.
...
https://github.com/graphql/graphql-js/blob/v0.13.2/src/graphql.js
2018-03-28 00:52:32 +08:00
Firede
107916a7eb
update graphql/utilities/* -> v0.13.2.
...
https://github.com/graphql/graphql-js/tree/v0.13.2/src/utilities
2018-03-28 00:49:50 +08:00
Firede
b1a1e3f9f1
update graphql/type/* -> v0.13.2.
...
https://github.com/graphql/graphql-js/tree/v0.13.2/src/type
2018-03-28 00:39:46 +08:00
Firede
e0a9929245
update graphql/subscription -> v0.13.2.
...
https://github.com/graphql/graphql-js/blob/v0.13.2/src/subscription/subscribe.js
2018-03-28 00:36:53 +08:00
Firede
6729aab7a6
update graphql/language/* -> v0.13.2.
...
https://github.com/graphql/graphql-js/tree/v0.13.2/src/language
2018-03-28 00:33:01 +08:00
Firede
323e993b8f
update graphql/execution/* -> v0.13.2.
...
https://github.com/graphql/graphql-js/tree/v0.13.2/src/execution
2018-03-28 00:13:02 +08:00
Firede
9e573562f8
add graphql/jsutils/MaybePromise.
...
https://github.com/graphql/graphql-js/blob/v0.13.2/src/jsutils/MaybePromise.js
2018-03-27 23:58:24 +08:00
Firede
c4d02fc9c9
update graphql/error/* -> v0.13.2.
...
https://github.com/graphql/graphql-js/tree/v0.13.2/src/error
2018-03-27 23:52:58 +08:00
Firede
3327220ff8
Reformat all files using prettier.
...
prettier --parser typescript --tab-width 4 --semi --trailing-comma es5 \
--write --print-width 120 \
types/graphql/**/*.d.ts
related: #23142 #24532
2018-03-27 19:48:25 +08:00
Matthew Zikherman
96e18376f4
Add options to buildClientSchema in graphql
2018-03-22 11:01:36 -04:00
Pierre-Olivier Bédard and GitHub
1f14091892
Add extensions to GraphQLError
...
https://github.com/graphql/graphql-js/blob/master/src/error/GraphQLError.js#L89
2018-03-21 11:37:04 -04:00
Divyendu Singh
b542e6c165
conform with structure of graphql-js in graphql typings
2018-03-10 14:32:35 +05:30
Divyendu Singh
c96aea88fe
make graphql typing for getDescription conform with graphql-js
2018-03-09 13:45:28 +05:30
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Daniel Rosenwasser and GitHub
240fdc608d
Merge pull request #23544 from j/graphql-fix
...
fix(GraphQL): update parseType signature
2018-02-13 16:23:24 -08:00
Cole Turner
1b22d220c8
feat(GraphQL): add additional GraphQL ParseOptions
2018-02-12 00:30:19 -08:00
Jordan
94abbb8f33
fix(GraphQL): update parseType signature
2018-02-09 11:08:00 -08:00
Andy and GitHub
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Matthew Leffler and Andy
65e61a6d88
GraphQL: Add schema printer options ( #23180 )
...
* Add schema printer options
These were added with https://github.com/graphql/graphql-js/pull/927 , RFC: Descriptions as strings.
* Explicitly define allowed printer options
2018-01-25 09:55:38 -08:00
Ivan Goncharov and Andy
ca9d8d7e0f
[graphql] Reformat all files using prettier. ( #23142 )
...
See https://github.com/graphql/graphql-js/pull/1112
2018-01-24 09:00:08 -08:00
Alessio Dionisi and Wesley Wigham
f65c838f12
Fix compilation error ( #23010 )
2018-01-18 12:41:05 -08:00
dyst5422 and Wesley Wigham
1eab1479b5
[graphql]: Update to 0.12.x ( #22980 )
...
* [graphql]: Update to 0.12.x
* Changed TypeExtensionNode from TypeExtensionDefinitionNode
* Changed some commas to semicolons.
2018-01-17 09:37:03 -08:00
Tim Griesser and Ryan Cavanaugh
e429830e19
[graphql] allow specifying Args on GraphQLFieldResolver ( #22789 )
2018-01-10 14:13:06 -08:00
Orta and GitHub
71c545cfd5
Update definition.d.ts
2017-11-27 16:10:30 -05:00
Ricardo Portugal
0e09de1997
add rportugal to "Definitions by"
2017-11-04 18:29:20 +00:00
Ricardo Portugal
c15de95e10
comment
2017-11-04 18:22:42 +00:00
Ricardo Portugal
5d0ec0027d
add extensions to ExecutionResult
2017-11-04 18:13:02 +00:00
Andy and GitHub
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Chew Yong Wee and Masahiro Wakame
a2834a9d05
Add subscribe field to GraphQLFieldConfig and GraphQLField interfaces ( #20317 )
2017-10-05 22:36:04 +09:00
Arthur Ozga and GitHub
e866bb76d8
Merge pull request #19591 from APIs-guru/executeArgs
...
[GraphQL] Overloading of 'graphql' and 'execute' functions
2017-09-14 14:27:40 -07:00
Arthur Ozga and GitHub
aa2f96b0bb
Merge pull request #19535 from APIs-guru/getVisitFn
...
[GraphQL] Add "getVisitFn" function
2017-09-14 14:22:59 -07:00
Nathan Shively-Sanders and GitHub
1f65236b53
Merge pull request #19547 from APIs-guru/astNode
...
[GraphQL] Add astNode properties to GraphQL types
2017-09-10 17:15:55 -07:00
Nathan Shively-Sanders and GitHub
2bd8a81998
Merge pull request #19545 from APIs-guru/getType
...
[GraphQL] "getType" returns GraphQLNamedType
2017-09-09 08:27:36 -07:00
Ivan Goncharov
5899fa54c2
[GraphQL] Overloading of 'graphql' and 'execute' functions
2017-09-06 18:29:10 +03:00
Ivan Goncharov
b2c738dc64
Add astNode properties to GraphQL types
2017-09-04 22:33:22 +03:00
Ivan Goncharov
b105099a98
"getType" returns GraphQLNamedType
2017-09-04 01:16:10 +03:00
Ivan Goncharov
35d44c172b
[GraphQL] Add "getVisitFn" function
2017-09-03 23:38:00 +03:00
Hagai Cohen
20634d7ac5
update contributers
2017-09-02 10:15:53 +03:00
Hagai Cohen
280f1873f1
update subscribe signature
2017-09-02 10:11:14 +03:00
Ivan Goncharov
0509463266
Add "getDirectiveValues"
2017-08-29 22:57:58 +03:00
Ivan Goncharov
288dd9b309
Add validation rules
2017-08-22 17:02:07 +03:00
Mikhail Novikov and Sheetal Nandi
9efaa6049f
Add field resolver option to graphql ( #18346 )
...
* Add field resolver to graphql
* Fix typo in definition header
2017-08-01 16:17:20 -07:00