micronaut-data icon indicating copy to clipboard operation
micronaut-data copied to clipboard

Documentation section 6.5.13 is missing source code snippet

Open mikehearn opened this issue 1 year ago • 2 comments

Expected Behavior

Section 6.5.13 says "The following record class demonstrates this capability" and should be followed by a source snippet.

Actual Behaviour

No source code is visible, although the annotations are.

Steps To Reproduce

https://micronaut-projects.github.io/micronaut-data/latest/guide/#javaRecords

Environment Information

No response

Example Application

https://micronaut-projects.github.io/micronaut-data/latest/guide/#javaRecords

Version

Current

mikehearn avatar Apr 19 '24 09:04 mikehearn

I can see it Screenshot 2024-04-19 at 11 27 10 AM

radovanradic avatar Apr 19 '24 09:04 radovanradic

I see. If you select Kotlin for a code snippet earlier up the page, then it disappears, presumably because there's no Kotlin equivalent for this section but the js code assumes there always will be.

mikehearn avatar Apr 19 '24 09:04 mikehearn

It appears to be fixed by https://github.com/micronaut-projects/micronaut-build/pull/684

radovanradic avatar Sep 06 '24 10:09 radovanradic