From d6bfb50c211252dd3728ce352ffddf7043659203 Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Fri, 26 Jul 2024 12:28:35 +0200 Subject: [PATCH] Revert "Only get `serviceinfo` for Node.js runtime services" This reverts commit dbfd1ccbf3c6fb252db21ae002a558b85375166c. --- lib/compile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compile.js b/lib/compile.js index 9c4154c..9363587 100644 --- a/lib/compile.js +++ b/lib/compile.js @@ -4,7 +4,7 @@ const { lexicographicSortSchema, printSchema } = require('graphql') function cds_compile_to_gql(csn, options = {}) { const model = cds.linked(csn) - const serviceinfo = cds.compile.to.serviceinfo(csn, options).filter(s => s.runtime === 'Node.js') + const serviceinfo = cds.compile.to.serviceinfo(csn, options) const services = Object.fromEntries( model.services .map(s => [s.name, new cds.ApplicationService(s.name, model)])