-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Container] Missing @Exporter annotation - JSON output skipped in model.json Export #1408
base: main
Are you sure you want to change the base?
[Container] Missing @Exporter annotation - JSON output skipped in model.json Export #1408
Conversation
Kudos, SonarCloud Quality Gate passed!
|
It would be nice to add a unit test to verify that the JSON output of the container component is available. |
unit tests are already in place. the absence of this annotation does not change the result in unit tests. |
I can see this breaking different use cases. Right now, with the missing annotations, the |
yes, this can definitely break applications relying on the "wrong" output of the ResponsiveGrid model. i do not see a benefit to switch models for simple/responsive layout - the output of the old ResponsiveGrid is really not well suited for JSON export (outputting a lot of authoring-related stuff like allowedComponents which should not be contained in the JSON output). a pity this annotation was not in place when the container was introduced. probably now this change has to be postponed to version 3.0.0 to no break things, this would be a clean cut. |
Kudos, SonarCloud Quality Gate passed! |
Codecov Report
@@ Coverage Diff @@
## main #1408 +/- ##
=========================================
Coverage 86.84% 86.84%
Complexity 2433 2433
=========================================
Files 216 216
Lines 6523 6523
Branches 1003 1003
=========================================
Hits 5665 5665
Misses 342 342
Partials 516 516
Continue to review full report at Codecov.
|
Fixes #1407