mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 12:16:58 +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},
|
|
}),
|
|
}),
|
|
});
|