legend-studio
legend-studio copied to clipboard
Bug: Fix Executing/Testing Milestone Classes in Mapping Editor
Similar requests
- [X] I have searched and found no existing similar requests
How are you using Studio?
No response
What problems are you trying to solve?
Opening query builder on milestone class via the class editor brings us to an unsupported state in query builder. This is due to no support for parameters in mapping test/execute.
https://user-images.githubusercontent.com/29690824/179244757-696741a1-c811-4eb6-8bd0-08a8a05d2cb2.mp4
Possible Solutions
We may want to generate a .all with a hardcoded date for the milestone class.
Grammar
Class <<meta::pure::profiles::temporal.businesstemporal>> model::MilstoneClass
{
id: String[1];
name: String[1];
}
Class model::Source
{
id: String[1];
}
###Mapping
Mapping model::M2MMapping
(
*model::MilstoneClass: Pure
{
~src model::Source
id: $src.id,
name: $src.id
}
)