@graphql-inspector/core
Version:
Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.
4 lines (3 loc) • 313 B
TypeScript
import { GraphQLField, GraphQLInterfaceType, GraphQLObjectType } from 'graphql';
import { AddChange } from './schema.js';
export declare function changesInField(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any> | null, newField: GraphQLField<any, any>, addChange: AddChange): void;