Commit Graph

31 Commits

Author SHA1 Message Date
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