Part of #332. Related to #199. Staged in draft PR #346.
Summary
Several roundtrip validity failures come from missing type/cardinality inference in microflow rebuilds. When the builder cannot infer whether a value is an object, list, association reference, or mapped response, it can write valid-looking MDL that becomes an invalid MPR.
Expected behavior
The builder/writer should preserve MPR validity for:
- compact association retrieve sources;
- sort attributes that require indirect entity refs;
- Java action return types, including generic list/object returns where inferable;
- import mapping result cardinality;
- list operations and
add <expression> to $List values;
- inferred return values for non-void microflows.
Current staging status
Draft PR #346 contains several type/cardinality inference fixes. These need to be extracted as focused PRs by root cause, preferably starting with cases that do not add new MDL syntax.
Focused PRs extracted so far:
Validation target
Focused PRs should include synthetic unit tests for each inference case and pass make build, make lint-go, and make test.
Part of #332. Related to #199. Staged in draft PR #346.
Summary
Several roundtrip validity failures come from missing type/cardinality inference in microflow rebuilds. When the builder cannot infer whether a value is an object, list, association reference, or mapped response, it can write valid-looking MDL that becomes an invalid MPR.
Expected behavior
The builder/writer should preserve MPR validity for:
add <expression> to $Listvalues;Current staging status
Draft PR #346 contains several type/cardinality inference fixes. These need to be extracted as focused PRs by root cause, preferably starting with cases that do not add new MDL syntax.
Focused PRs extracted so far:
Validation target
Focused PRs should include synthetic unit tests for each inference case and pass
make build,make lint-go, andmake test.