You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current modeling of the sizeForLinksVariables property is a bit flawed. The response associated with a pairwise links component is a two-dimension array, so it must contains exactly 2 elements.
Use Case
This current modeling could cause issues since nothing prevents users from setting and array with 1, 3 or more elements in the source json.
Note: For now, only one pairwise component per questionnaire is authorized, so we also might want to change "linksVariables": ["LINKS"] into "linksVariable": "LINKS".
Yet it feels much less necessary to me since current modeling isn't harmful, and this rule could change someday.
Alternatives Considered
Additional Context
Priority
Low
Attachments
Related Issues
Issue to be created in Lunatic-Model, and then in Eno to use the new modeling.
The text was updated successfully, but these errors were encountered:
Feature Description
The current modeling for a resizing entry asociated with a pairwise links component is like this:
The current modeling of the
sizeForLinksVariables
property is a bit flawed. The response associated with a pairwise links component is a two-dimension array, so it must contains exactly 2 elements.Use Case
This current modeling could cause issues since nothing prevents users from setting and array with 1, 3 or more elements in the source json.
Proposed Solution
I suggest something clearer like:
Note: For now, only one pairwise component per questionnaire is authorized, so we also might want to change
"linksVariables": ["LINKS"]
into"linksVariable": "LINKS"
.Yet it feels much less necessary to me since current modeling isn't harmful, and this rule could change someday.
Alternatives Considered
Additional Context
Priority
Attachments
Related Issues
Issue to be created in Lunatic-Model, and then in Eno to use the new modeling.
The text was updated successfully, but these errors were encountered: