Skip to content

Commit

Permalink
Revert "Only get serviceinfo for Node.js runtime services"
Browse files Browse the repository at this point in the history
This reverts commit dbfd1cc.
  • Loading branch information
schwma committed Jul 26, 2024
1 parent 0d27ac3 commit d6bfb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)])
Expand Down

0 comments on commit d6bfb50

Please sign in to comment.