Skip to content

Conversation

@ialarmedalien
Copy link
Collaborator

Add a type_roots function, analogous to existing class_roots and slot_roots functions, to find all base types in a schema.

N.b. I haven't added a type_leaves function as I don't have any need of it, but it would be easy enough to do so.

@ialarmedalien ialarmedalien self-assigned this Oct 7, 2025
@ialarmedalien ialarmedalien added the enhancement New feature or request label Oct 7, 2025
@codecov
Copy link

codecov bot commented Oct 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.37%. Comparing base (1b67264) to head (3b6fcde).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #468      +/-   ##
==========================================
+ Coverage   77.36%   77.37%   +0.01%     
==========================================
  Files          52       52              
  Lines        4470     4473       +3     
  Branches      975      975              
==========================================
+ Hits         3458     3461       +3     
  Misses        785      785              
  Partials      227      227              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kevinschaper kevinschaper merged commit 89e17c7 into main Oct 7, 2025
17 checks passed
@ialarmedalien ialarmedalien deleted the schemaview_type_roots branch October 7, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants