Commit Graph

47 Commits

Author SHA1 Message Date
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Daniel Rosenwasser
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
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Matthew Leffler
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
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
f65c838f12 Fix compilation error (#23010) 2018-01-18 12:41:05 -08:00
dyst5422
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
e429830e19 [graphql] allow specifying Args on GraphQLFieldResolver (#22789) 2018-01-10 14:13:06 -08:00
Orta
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
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Chew Yong Wee
a2834a9d05 Add subscribe field to GraphQLFieldConfig and GraphQLField interfaces (#20317) 2017-10-05 22:36:04 +09:00
Arthur Ozga
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
aa2f96b0bb Merge pull request #19535 from APIs-guru/getVisitFn
[GraphQL] Add "getVisitFn" function
2017-09-14 14:22:59 -07:00
Nathan Shively-Sanders
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
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
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
Andy
0473fda9c6 graphql: Lint (#18257) 2017-07-24 10:29:25 -07:00
Ryan Cavanaugh
3e1197a88d Merge pull request #17859 from kepennar/master
[GraphQL] GraphQL Subscription type definition
2017-07-13 14:16:46 -07:00
kepennar
9746c28496 [GraphQL] force typescript 2.3 2017-07-08 12:49:12 +02:00
kepennar
3cc29a7e36 Add GraphQL Subscription type definition 2017-07-08 12:24:59 +02:00
Jack Moore
47dc2f3fb5 Added isDeprecated to GraphQLEnumValue 2017-06-30 00:49:17 -05:00
Ed Staub
dc1ea691f9 Update formatError.d.ts
See e.g. the flow definition in https://github.com/graphql/graphql-js/blob/master/src/error/formatError.js, where they are defined as optional.
I'm no GraphQL expert; caveat emptor.
2017-06-27 13:36:34 -04:00
Jan Melcher
a84aa3a591 Also include null 2017-06-21 10:47:33 +02:00
Jan Melcher
f78ae917ae get[Mutation|Subscription]Type() are nullable
According to [`schema.js`](https://github.com/graphql/graphql-js/blob/master/src/type/schema.js#L160), `GraphQLSchema.getMutationType()` and `getSubscriptionType()` may return `undefined`, so the types should reflect that.
2017-06-21 10:42:38 +02:00
Michael
d8b7da2042 Fix for getTypeMap() return type in graphql schema.d.ts. (#16343) 2017-05-05 16:20:09 -07:00
Firede
57caf93211 fixed lint errors. 2017-03-27 19:37:17 +08:00
Firede
a1b59d6a0f add TypeInfo.getEnumValue and EnumType.getValue 2017-03-27 19:08:48 +08:00
Firede
6843699843 add isNamedType & assertNamedType.
promisify isTypeOf and resolveType.
2017-03-27 19:00:26 +08:00
Firede
ad9c5dd1d2 add findBreakingChanges & findDeprecatedUsages 2017-03-27 18:58:40 +08:00
Firede
7fdcaa7710 remove duplicate functions. 2017-03-27 17:19:40 +08:00
Firede
67dba4b5a7 add findDeprecatedUsages. 2017-03-27 17:16:24 +08:00
Firede
352a5756b1 operationName is optional. 2017-03-27 17:15:50 +08:00
Firede
619d2fcc39 keyMap is optional. 2017-03-27 17:14:47 +08:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00