Commit Graph

9 Commits

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