linkml / linkml-runtime

Runtime support for linkml generated models
https://linkml.io/linkml/
Creative Commons Zero v1.0 Universal
22 stars 21 forks source link

Display `any_of`, `exactly_one_of`, `none_of`, `all_of` range assertions in Usages section of class documentation page #323

Closed sujaypatil96 closed 1 month ago

sujaypatil96 commented 1 month ago

Fixes https://github.com/linkml/linkml/issues/2033

If a slot has a union range asserted/constrained using any of the following linkml constructs -- any_of, exactly_one_of, none_of, all_of then, the class which it asserts in it's range will have a reference to the slot mentioned in the Usages section of that class documentation page.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 64.10%. Comparing base (43ba7d3) to head (ef4f5a5). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #323 +/- ## ========================================== + Coverage 64.06% 64.10% +0.03% ========================================== Files 63 63 Lines 8611 8615 +4 Branches 2447 2448 +1 ========================================== + Hits 5517 5523 +6 + Misses 2477 2476 -1 + Partials 617 616 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.