Skip to content

Commit

Permalink
service-editor: create basic lambda by default rather than stub lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
akphi committed Oct 26, 2022
1 parent bce376e commit 2d71017
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ import {
DefaultH2AuthenticationStrategy,
ModelGenerationSpecification,
DataElement,
stub_RawLambda,
stub_Database,
Measure,
} from '@finos/legend-graph';
Expand Down Expand Up @@ -467,7 +466,12 @@ export class NewServiceDriver extends NewElementDriver<Service> {
}
service_setExecution(
service,
new PureSingleExecution(stub_RawLambda(), service, mapping, runtimeValue),
new PureSingleExecution(
this.editorStore.graphManagerState.graphManager.createDefaultBasicRawLambda(),
service,
mapping,
runtimeValue,
),
this.editorStore.changeDetectionState.observerContext,
);
service_initNewService(service);
Expand Down

0 comments on commit 2d71017

Please sign in to comment.