const path = require('path')
const graphql = require('graphql')

const spectaql = require('../')

const configFilePath = path.resolve(__dirname, '../examples/config.yml')

// console.log({configFilePath})

const {
  introspectionResponse,
  graphQLSchema,
// } = spectaql.buildSchemas({ specFile: configFilePath })
} = spectaql.buildSchemas({})

console.log(JSON.stringify({
  introspectionResponse,
//   // graphQLSchema,
}))

// console.log(graphql.printSchema(graphQLSchema))
