Skip to content

Commit

Permalink
updated mergers/natural keys configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Apr 16, 2024
1 parent 12926cb commit 8f1e1ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ private ItemMergerFactory buildItemMergerFactory() {
"GuiObjectDetailsPageType",
GuiObjectDetailsPageType.class,
m -> new GenericItemMerger(m, DefaultNaturalKeyImpl.of(GuiObjectDetailsPageType.F_TYPE)));
factory.registerMergerSupplier(
"GuiResourceDetailsPageType",
GuiResourceDetailsPageType.class,
m -> new GenericItemMerger(m, DefaultNaturalKeyImpl.of(
GuiResourceDetailsPageType.F_TYPE,
GuiResourceDetailsPageType.F_CONNECTOR_REF)));
// factory.registerMergerSupplier(
// "GuiResourceDetailsPageType",
// GuiResourceDetailsPageType.class,
// m -> new GenericItemMerger(m, DefaultNaturalKeyImpl.of(
// GuiResourceDetailsPageType.F_TYPE,
// GuiResourceDetailsPageType.F_CONNECTOR_REF)));
factory.registerMergerSupplier(
"ExpressionEvaluatorProfileType",
ExpressionEvaluatorProfileType.class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,8 @@
<a:since>4.6</a:since>
<a:displayName>GuiResourceDetailsPageType.details</a:displayName>
<a:experimental/>
<a:merger>GuiResourceDetailsPageType</a:merger>
<a:naturalKey>type</a:naturalKey>
<a:naturalKey>connectorRef</a:naturalKey>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent>
Expand Down

0 comments on commit 8f1e1ae

Please sign in to comment.