Skip to content

Commit d0c1ff6

Browse files
perf: Add LatestResourceVersion Index (#905)
* feat: Add LatestResourceVersion Index Signed-off-by: DaevMithran <[email protected]> * Add migrations for latestResourceVersion collection Signed-off-by: DaevMithran <[email protected]> * fix: SetResource if no previous version found Signed-off-by: DaevMithran <[email protected]> * fix: Only silence ErrNotFound Signed-off-by: DaevMithran <[email protected]> * feat: Add query endpoints for latestResourceVersion Signed-off-by: DaevMithran <[email protected]> * test: Add query endpoint tests Signed-off-by: DaevMithran <[email protected]> * Tidy dependencies * fix: Remove uuid norm on name and resourceType Signed-off-by: DaevMithran <[email protected]> * test: Add additional tests Signed-off-by: DaevMithran <[email protected]> * Literals * Clarify error descriptions in resource version tests Updated test case descriptions in query_resource_latest_version_test.go to specify the expected error type (e.g., 'not found', 'did doc not found') for better clarity and consistency. --------- Signed-off-by: DaevMithran <[email protected]> Co-authored-by: Tasos Derisiotis <[email protected]>
1 parent bcfc18f commit d0c1ff6

27 files changed

+4762
-273
lines changed

api/cheqd/did/v2/fee.pulsar.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/cheqd/did/v2/query.pulsar.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/cheqd/did/v2/tx.pulsar.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/cheqd/resource/v2/fee.pulsar.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)