Skip to content

Emphasize taxonomy in the wording of the ontology hierarchy-related traits - #76

Merged
ielis merged 4 commits into
developmentfrom
taxonomy
Sep 3, 2026
Merged

Emphasize taxonomy in the wording of the ontology hierarchy-related traits#76
ielis merged 4 commits into
developmentfrom
taxonomy

Conversation

@ielis

@ielis ielis commented Sep 3, 2026

Copy link
Copy Markdown
Owner

The PR includes BREAKING changes.

Several traits from ontolius::ontology module are concerned about the taxonomy relationships in ontologies and this should be better reflected in their names. Therefore, the following traits have been renamed:

  • ontolius::ontology::HierarchyQueries -> ontolius::ontology::TaxonomyQuery
  • ontolius::ontology::HierarchyTraversals -> ontolius::ontology::TaxonomyTraversal
  • ontolius::ontology::HierarchyWalks -> ontolius::ontology::TaxonomyWalk

The "hierarchy" traits are deprecated and scheduled for removal in version 0.9.0.

Additionally, the TaxonomyTraversal is no longer generic over the index type, but an associated type parameter Idx was created to serve the same purpose (BREAKING).

Last, the ontolius::ontology::OntologyTerms trait is also no longer generic in favor of an associated parameter OntologyTerms::Term (BREAKING).

@ielis
ielis merged commit 4ce7912 into development Sep 3, 2026
5 checks passed
@ielis
ielis deleted the taxonomy branch September 3, 2026 11:14
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.

1 participant