Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"$resolvers": {
"findUser": {
"name": "Kristiyan Tachev",
"email": "test@gmail.com",
"phone": 414141,
"arrayOfNumbers": [515151, 412414],
"arrayOfStrings": ["515151", "412414"]
}
}
}
`, { encoding: 'utf-8' });
}
}
else {
core_1.BootstrapFramework(app_module_1.AppModule, [
core_2.CoreModule.forRoot({
graphql: {
openBrowser: args_extractors_1.nextOrDefault('--random', true, v => v === 'true' ? false : true),
buildAstDefinitions: false // Removed ast definition since directives are lost
},
server: {
randomPort: args_extractors_1.nextOrDefault('--random', false),
hapi: {
port: args_extractors_1.nextOrDefault('--port', 9000, p => Number(p))
}
}
})
]).subscribe(() => console.log('Started'), console.log.bind(console));
}