Added FinancialBeings to schema stitching and .idea folder to .gitignore

This commit is contained in:
ookie committed 2018-11-19 12:47:55 +01:00
1 parent 2a75a29a57
commit cd33abae52
2 files changed
+13 -2

No files matched your search

+4 -1
View File
@@ -20,5 +20,8 @@ dist/
# Visual Studio Code
.vscode
#Mac specific files
# Mac specific files
.DS_Store
# JetBrains
.idea
+9 -1
View File
@@ -64,6 +64,11 @@ async function run () {
process.env.EVENTS_API_URL,
process.env.EVENTS_API_PRESHARED)
logger.info('Events schema created')
const transformedFinancialBeingsSchema = await createTransformedRemoteSchema(
'financialBeings_',
process.env.FINANCIAL_BEINGS_API_URL,
process.env.FINANCIAL_BEINGS_API_PRESHARED)
logger.info('FINANCIAL_BEINGS schema created')
var schemas = [masterSchema]
var resolvers = {}
@@ -89,7 +94,10 @@ async function run () {
if (transformedKeyVaultSchema) {
schemas.push(transformedKeyVaultSchema)
}
if (transformedFinancialBeingsSchema) {
schemas.push(transformedFinancialBeingsSchema)
}
const schema = mergeSchemas({
schemas,
resolvers