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