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