Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_getSchemaFile () {
global.iocResolver._directories.schemas = 'Schemas'
const namespace = global.iocResolver.forDir('schemas').translate(this.name)
const filePath = ioc._getAutoloadedPath(namespace)
return readFileSync(`${filePath}.graphql`, 'utf-8')
}