Skip to content

Commit

Permalink
BUGFIX: correct resolveReferencesForJzodSchemaAndValueObject to handl…
Browse files Browse the repository at this point in the history
…e (a limited form of) discriminated unions of unions. In ReportView, converting Report Templates before display, do not use useDeploymentEntityStateJzodSchemaSelectorForTemplate. Fixed display for some details reports.
  • Loading branch information
miroir-framework committed Sep 26, 2024
1 parent 67d83b5 commit 7682d00
Show file tree
Hide file tree
Showing 23 changed files with 7,220 additions and 6,708 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,11 @@ export function getMiroirFundamentalJzodSchema(
true
) as any
).context,
______________________________________________templates_____________________________________________: {
type: "never",
},
// ...(transformerJzodSchema as any).definition.context, // gives "transformer_InnerReference", "transformerForBuild", "actionHandler"
...(makeReferencesAbsolute((transformerJzodSchema as any).definition,"fe9b7d99-f216-44de-bb6e-60e1a1ebb739", true)).context, // gives "transformer_InnerReference", "transformerForBuild", "actionHandler"
______________________________________________miroirMetaModel_____________________________________________: {
type: "never",
},
Expand Down Expand Up @@ -2137,7 +2142,7 @@ export function getMiroirFundamentalJzodSchema(
type: "union",
definition: domainEndpointVersionV1.definition.actions.map((e: any) => e.actionParameters),
},
...(transformerJzodSchema as any).definition.context, // gives "transformer_InnerReference", "transformerForBuild", "actionHandler"
// ...(transformerJzodSchema as any).definition.context, // gives "transformer_InnerReference", "transformerForBuild", "actionHandler"
modelActionReplayableAction: {
type: "union",
definition: [
Expand Down Expand Up @@ -2525,7 +2530,7 @@ export function getMiroirFundamentalJzodSchema(
},
};

log.info("innerResolutionStore", innerResolutionStore);
// log.info("innerResolutionStore", innerResolutionStore);

// log.info("innerResolutionStore baseObject", JSON.stringify((innerResolutionStore["fe9b7d99-f216-44de-bb6e-60e1a1ebb739"] as any).context["jzodBaseObject"], null, 2));
// log.info("innerResolutionStore array", JSON.stringify((innerResolutionStore["fe9b7d99-f216-44de-bb6e-60e1a1ebb739"] as any).context["jzodArray"], null, 2));
Expand Down
Loading

0 comments on commit 7682d00

Please sign in to comment.