Support objects in expressions#1777
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
5a4dacc to
5c9c571
Compare
2fb14e2 to
ee69ba5
Compare
| #pragma warning disable CA1720 | ||
| @object, | ||
| #pragma warning restore CA1720 |
There was a problem hiding this comment.
Sonar complained about this variable having a name that contains "object", but we need this for the object function to work.
4908de3 to
2a553d2
Compare
2a553d2 to
ab5d0b1
Compare
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|



Important
This pull request is stacked upon #1769, which should be merged first.
Description
This pull request adds support for objects in expressions, along with an
objectfunction for creating an object. Here is an overview of the changes:objectfunction inExpressionEvaluator. Because of the complexity of the function, I created a separate class namedObjectFunctionEvaluatorfor evaluating the function.ExpressionValue. Most of the code did already exist, hiding in comments.Here is the corresponding change in App frontend: Altinn/altinn-studio#18982
Related Issue(s)
Verification
Documentation