Forked from an inaccessible project.
-
Wilson JALLET authoredWilson JALLET authored
schema.js 481 B
/**
* @file Ce fichier génère le schéma GraphQL. C'est ici que les requêtes GraphQl sont résolues.
* @author akka vodol
*/
import actionDefs from './typeDefs/actions.graphql';
import objectDefs from './typeDefs/objects.graphql';
import { resolvers } from './resolvers';
const typeDefs = actionDefs.concat(objectDefs);
const schema = {
typeDefs,
resolvers,
logger: {log: e => console.log(e)},
inheritResolversFromInterfaces: true
};
export default schema;