github-actions
released this
26 Jul 11:56
·
282 commits
to master
since this release
Patch Changes
-
#3165
3fa9eb9
Thanks @ntucker! - Query can take Object SchemasThis enables joining arbitrary objects (whose pk works with the same arguments.)
class Ticker extends Entity { product_id = ''; price = 0; pk(): string { return this.product_id; } } class Stats extends Entity { product_id = ''; last = 0; pk(): string { return this.product_id; } } const queryPrice = new schema.Query( { ticker: Ticker, stats: Stats }, ({ ticker, stats }) => ticker?.price ?? stats?.last, );
-
Updated dependencies [
3fa9eb9
]:- @data-client/[email protected]