Skip to content

feat!: move knex loaders into entity-database-adapter-knex package#410

Open
wschurman wants to merge 1 commit intowschurman/01-30-chore_move_knex-specific_loader_logic_out_of_entitydatamanagerfrom
wschurman/01-31-feat_move_knex_loaders_into_entity-database-adapter-knex_package
Open

feat!: move knex loaders into entity-database-adapter-knex package#410
wschurman wants to merge 1 commit intowschurman/01-30-chore_move_knex-specific_loader_logic_out_of_entitydatamanagerfrom
wschurman/01-31-feat_move_knex_loaders_into_entity-database-adapter-knex_package

Conversation

@wschurman
Copy link
Member

@wschurman wschurman commented Feb 1, 2026

Why

Part 3 of #407.

How

This is the main PR of the stack. It creates a mechanism for "installing" the extension methods on required objects, and then installs them and tests them.

The goal is to make it better self-contained about what is core in the library and guaranteed to be efficient (dataloader'd and cached) and what is not (raw SQL and SQLFragment loads in a future PR).

This is becoming more critical in a time of agentic coding where having a discrete set of loaders that can be linted separately and instruct agents to run EXPLAIN ANALYZE in raw cases.

Test Plan

Full test coverage.

Copy link
Member Author

wschurman commented Feb 1, 2026

@codecov
Copy link

codecov bot commented Feb 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (733b363) to head (648de2b).

Additional details and impacted files
@@                                                Coverage Diff                                                @@
##           wschurman/01-30-chore_move_knex-specific_loader_logic_out_of_entitydatamanager      #410    +/-   ##
=================================================================================================================
  Coverage                                                                          100.00%   100.00%            
=================================================================================================================
  Files                                                                                  97       103     +6     
  Lines                                                                               13171     13590   +419     
  Branches                                                                              665       652    -13     
=================================================================================================================
+ Hits                                                                                13171     13590   +419     
Flag Coverage Δ
integration 18.00% <70.41%> (+11.03%) ⬆️
unittest 97.35% <97.39%> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wschurman wschurman force-pushed the wschurman/01-31-feat_move_knex_loaders_into_entity-database-adapter-knex_package branch from 9f97b92 to 648de2b Compare February 4, 2026 21:29
@wschurman wschurman force-pushed the wschurman/01-30-chore_move_knex-specific_loader_logic_out_of_entitydatamanager branch from 0be9f1d to 733b363 Compare February 4, 2026 21: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.

1 participant