Skip to content

Commit dcf6048

Browse files
feat(taxonomy): add query-parameter support to Taxonomy, Term, and TermQuery
Add chainable helpers so common CDA query params can be sent on the published taxonomy/term endpoints, which previously issued requests with no params at all: - Term: depth(), includeFallback(), includeBranch(), param(), addParams() and locale support on fetch(); all request methods (fetch/locales/ ancestors/descendants) now forward _queryParams. - Taxonomy: includeFallback(), includeBranch(), param(), addParams(), and locale support on fetch() (fetch() now forwards _queryParams). - TermQuery: depth(), skip(), limit(), includeCount(), includeFallback(), includeBranch(), locale(), param(), addParams(). Also fix broken unit-test imports (src/lib/* -> src/taxonomy/*, src/query/*) so the taxonomy suites load, and add coverage asserting the params reach the request. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent dae3f07 commit dcf6048

10 files changed

Lines changed: 456 additions & 88 deletions

File tree

package-lock.json

Lines changed: 69 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)