-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hierarchy builder: API cleanup and tests (#323)
* Remove unnecessary interface * Use hierarchy definition's node parser * Don't expose processing params with returned hierarchy nodes * Unify nodes' pre and post processor APIs * fixup post-processor change * Fix merging by label not working when merge candidates come from parent and child hierarchy levels * Add unit tests for `QueryScheduler` * Cover `TreeQueryResultsReader` with unit tests * Cover `HierarchyProvider` with unit tests * Fixup `defaultNodesParser` * Cover common utils with unit tests * Set `NODE_ENV: development` in terminal & CI to ensure assertions have effect * Ensure `HierarchyNode.children` always contains nodes with determined children * Cleanup HierarchyNode related APIs and fix issues found by that * Make `ClassBasedInstanceLabelSelectClauseFactoryProps.defaultClauseFactory` public. Fix `check-internal` script to detect `@internal` APIs when the tag is indented. * Don't allow nodes' post-processor to omit nodes * fixup test app * fixup tests after rebase * Even more type safety related to different kinds of nodes * Use node key to get exhaustive type checks * Force 100% unit test coverage * empty changeset * prettier * cleanup * Apply suggestions from code review Co-authored-by: JonasDov <[email protected]> * Add tests for sorting nodes in grouping operator --------- Co-authored-by: JonasDov <[email protected]>
- Loading branch information
Showing
53 changed files
with
4,041 additions
and
1,682 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,4 +61,6 @@ jobs: | |
run: pnpm prettier | ||
|
||
- name: Build, Lint, Test | ||
env: | ||
NODE_ENV: "development" | ||
run: pnpm lage build lint cover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.