Commit Graph

13 Commits

Author SHA1 Message Date
Chew Yong Wee
a2834a9d05 Add subscribe field to GraphQLFieldConfig and GraphQLField interfaces (#20317) 2017-10-05 22:36:04 +09: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
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
Andy
0473fda9c6 graphql: Lint (#18257) 2017-07-24 10:29:25 -07:00
Jack Moore
47dc2f3fb5 Added isDeprecated to GraphQLEnumValue 2017-06-30 00:49:17 -05: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
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00