mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-14 13:46:54 +03:00
16 lines
253 B
JavaScript
16 lines
253 B
JavaScript
import {
|
|
GraphQLObjectType,
|
|
GraphQLString,
|
|
GraphQLSchema,
|
|
} from 'graphql';
|
|
|
|
|
|
export default new GraphQLSchema({
|
|
query: new GraphQLObjectType({
|
|
name: 'Query',
|
|
fields: () => ({
|
|
__emptyField: {type: GraphQLString},
|
|
}),
|
|
}),
|
|
});
|