Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
5fdd524
refactor: structure v1 getDocuments where/order_by/having as typed pr…
QuantumExplorer May 16, 2026
3f27c2b
chore: drop unused ciborium dep from rs-sdk
QuantumExplorer May 16, 2026
3dfa923
chore: regenerate dapi-grpc service stubs + sync Cargo.lock
QuantumExplorer May 16, 2026
1811051
fix: address CodeRabbit review feedback on PR #3654
QuantumExplorer May 16, 2026
f478abb
docs: drop release-phase references from PR-introduced comments
QuantumExplorer May 16, 2026
4253cc9
feat: model HAVING as aggregate filters with COUNT/SUM/AVG/MIN/MAX/TO…
QuantumExplorer May 16, 2026
9845ba1
feat: extend HavingOperator with IN + BETWEEN variants; move TOP/BOTT…
QuantumExplorer May 16, 2026
27371f9
refactor: use InvalidOrderByProperties for order_by parse failures
QuantumExplorer May 16, 2026
ef216a6
refactor: split HAVING aggregate (per-group) from ranking (cross-group)
QuantumExplorer May 16, 2026
c275ea8
feat: extend Select projection with SUM / AVG; restructure as message
QuantumExplorer May 16, 2026
43f480d
chore: drop unneeded return in SUM/AVG rejection arms
QuantumExplorer May 16, 2026
3a0e18b
test: switch document_count integration tests to SelectProjection
QuantumExplorer May 16, 2026
05bf6d9
refactor: short-circuit HAVING rejection before decode; tidy value_to…
QuantumExplorer May 16, 2026
693b546
fix: make v1 GROUP BY routing independent of where-clause order
QuantumExplorer May 16, 2026
d5f5b3a
feat: add MIN/MAX, offset, repeated Select, order-by-aggregate wire s…
QuantumExplorer May 16, 2026
8b69458
fix: address CodeRabbit review feedback on PR #3654 (3 findings)
QuantumExplorer May 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions packages/dapi-grpc/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,11 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
.field_attribute("nullifiers", SERDE_WITH_BASE64)
// Get documents fields
.field_attribute("data_contract_id", SERDE_WITH_BYTES)
.field_attribute("where", SERDE_WITH_BYTES)
.field_attribute("order_by", SERDE_WITH_BYTES)
// V0 still ships CBOR for `where` / `order_by`; V1 ships
// typed `repeated WhereClause` / `repeated OrderClause`
// and doesn't need the `bytes`-shaped serde shim.
.field_attribute("GetDocumentsRequestV0.where", SERDE_WITH_BYTES)
.field_attribute("GetDocumentsRequestV0.order_by", SERDE_WITH_BYTES)
// Proof fields
.field_attribute("Proof.grovedb_proof", SERDE_WITH_BYTES)
.field_attribute("Proof.quorum_hash", SERDE_WITH_BYTES)
Expand Down
1,923 changes: 1,852 additions & 71 deletions packages/dapi-grpc/clients/drive/v0/nodejs/drive_pbjs.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2094,13 +2094,6 @@ public void getDocuments(org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumen
}

/**
* <pre>
* `getDocumentsCount` removed in v1: callers express counts via
* `getDocuments` with `version.v1.select = COUNT` (optionally
* with `group_by`). See `GetDocumentsRequestV1` for the unified
* SQL-shaped surface. The v0-count endpoint shipped briefly in
* #3623 and never had stable callers; v1 supersedes it entirely.
* </pre>
*/
public void getIdentityByPublicKeyHash(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashRequest request,
io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashResponse> responseObserver) {
Expand Down Expand Up @@ -3025,13 +3018,6 @@ public void getDocuments(org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumen
}

/**
* <pre>
* `getDocumentsCount` removed in v1: callers express counts via
* `getDocuments` with `version.v1.select = COUNT` (optionally
* with `group_by`). See `GetDocumentsRequestV1` for the unified
* SQL-shaped surface. The v0-count endpoint shipped briefly in
* #3623 and never had stable callers; v1 supersedes it entirely.
* </pre>
*/
public void getIdentityByPublicKeyHash(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashRequest request,
io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashResponse> responseObserver) {
Expand Down Expand Up @@ -3549,13 +3535,6 @@ public org.dash.platform.dapi.v0.PlatformOuterClass.GetDocumentsResponse getDocu
}

/**
* <pre>
* `getDocumentsCount` removed in v1: callers express counts via
* `getDocuments` with `version.v1.select = COUNT` (optionally
* with `group_by`). See `GetDocumentsRequestV1` for the unified
* SQL-shaped surface. The v0-count endpoint shipped briefly in
* #3623 and never had stable callers; v1 supersedes it entirely.
* </pre>
*/
public org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashResponse getIdentityByPublicKeyHash(org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
Expand Down Expand Up @@ -4041,13 +4020,6 @@ public com.google.common.util.concurrent.ListenableFuture<org.dash.platform.dapi
}

/**
* <pre>
* `getDocumentsCount` removed in v1: callers express counts via
* `getDocuments` with `version.v1.select = COUNT` (optionally
* with `group_by`). See `GetDocumentsRequestV1` for the unified
* SQL-shaped surface. The v0-count endpoint shipped briefly in
* #3623 and never had stable callers; v1 supersedes it entirely.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashResponse> getIdentityByPublicKeyHash(
org.dash.platform.dapi.v0.PlatformOuterClass.GetIdentityByPublicKeyHashRequest request) {
Expand Down
1,923 changes: 1,852 additions & 71 deletions packages/dapi-grpc/clients/platform/v0/nodejs/platform_pbjs.js

Large diffs are not rendered by default.

1,995 changes: 1,818 additions & 177 deletions packages/dapi-grpc/clients/platform/v0/nodejs/platform_protoc.js

Large diffs are not rendered by default.

Loading
Loading