Skip to content
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

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

Merged
merged 2 commits into from
May 29, 2024

Conversation

sujaypatil96
Copy link
Member

Fixes linkml/linkml#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.

Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@            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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sujaypatil96 sujaypatil96 marked this pull request as ready for review May 23, 2024 18:55
@cmungall cmungall merged commit 49aecb2 into main May 29, 2024
9 of 12 checks passed
@sujaypatil96 sujaypatil96 deleted the improve-class-usages branch May 29, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

any_of ranges should be reflected in the usages section on slot documentation pages
2 participants