Merge pull request #24462 from mzikherman/add_options_to_client_schema

[graphql] Add valid options to buildClientSchema method
This commit is contained in:
Eloy Durán
2018-03-22 13:03:01 -04:00
committed by GitHub
+4 -1
View File
@@ -1,5 +1,7 @@
import { IntrospectionQuery } from './introspectionQuery';
import { GraphQLSchema } from '../type/schema';
import { GraphQLSchema, GraphQLSchemaValidationOptions } from '../type/schema';
interface Options extends GraphQLSchemaValidationOptions {}
/**
* Build a GraphQLSchema for use by client tools.
@@ -12,4 +14,5 @@ import { GraphQLSchema } from '../type/schema';
*/
export function buildClientSchema(
introspection: IntrospectionQuery,
options?: Options,
): GraphQLSchema;