Skip to content

Commit

Permalink
Repackage XmlDataRecord and JsonDataRecord (#2423)
Browse files Browse the repository at this point in the history
  • Loading branch information
haroonsherjan authored Nov 1, 2023
1 parent 3abde76 commit 88e0ce3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Class meta::external::store::model::JsonModelConnection extends PureModelConnect
url : String[1];
}

Class meta::external::store::model::JsonDataRecord
Class meta::pure::mapping::modelToModel::JsonDataRecord
{
number : Integer[1];
record : String[1];
Expand All @@ -75,7 +75,7 @@ Class meta::external::store::model::XmlModelConnection extends PureModelConnecti
url : String[1];
}

Class meta::external::store::model::XmlDataRecord
Class meta::pure::mapping::modelToModel::XmlDataRecord
{
number : Integer[1];
record : String[1];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function meta::external::store::mongodb::executionPlan::platformBinding::legendJ
let contextWithNodeInfo = $context->addNodeInfo($nodeInfo);

let resolvedModel = $node.binding.modelUnit->resolve();
let updatedTypeInfo = $context.typeInfos->addForClassWithAllProperties(meta::external::store::model::JsonDataRecord)
let updatedTypeInfo = $context.typeInfos->addForClassWithAllProperties(meta::pure::mapping::modelToModel::JsonDataRecord)
->map(ti| if($node.tree->isEmpty(),| $ti->addForClass($class)->addConstraints($class),| $ti->addForGraphFetchTree($node.tree->toOne())->addConstraintsForGraphFetchTree($node.tree->toOne())));

let newTypeInfos = if($externalFormatJavaBindingDescriptor.internalizeDescriptor.internalizePreparator->isNotEmpty(),
Expand Down Expand Up @@ -390,7 +390,7 @@ function <<access.private>> meta::external::store::mongodb::executionPlan::platf
let sourceRead = $pureClass->readMethodName($conv);
let ioEx = j_parameter(javaIOException(), 'e');
let jThis = j_this($proto);
let recordType = $conv->className(meta::external::store::model::JsonDataRecord);
let recordType = $conv->className(meta::pure::mapping::modelToModel::JsonDataRecord);
let json = j_variable(javaString(), 'json');
let recordNumber = j_variable(javaLong(), 'recordNumber');
let source = j_variable($recordType, 'source');
Expand Down

0 comments on commit 88e0ce3

Please sign in to comment.