Handle not found errors in GQL query resolvers #20

Merged
nabarun merged 1 commits from nv-handle-error into main 2024-03-12 08:40:24 +00:00
Member

Part of https://www.notion.so/Create-laconic-registry-SDK-d3a636d4aba44f7cbba3bd99b7146811

  • Return nil in response when
    • bond not found on getBondsByIds request
    • authority not found on lookupAuthorities / whois request
Part of https://www.notion.so/Create-laconic-registry-SDK-d3a636d4aba44f7cbba3bd99b7146811 - Return `nil` in response when - bond not found on `getBondsByIds` request - authority not found on `lookupAuthorities` / `whois` request
prathamesh added 1 commit 2024-03-12 06:28:46 +00:00
Handle not found error for getBondsByIds and whois queries
All checks were successful
Build / build (pull_request) Successful in 2m42s
Integration Tests / test-integration (pull_request) Successful in 2m43s
E2E Tests / test-e2e (pull_request) Successful in 3m45s
Unit Tests / test-unit (pull_request) Successful in 2m13s
Lint / Run golangci-lint (pull_request) Successful in 5m4s
8944b50e0b
nabarun merged commit 373af7562b into main 2024-03-12 08:40:24 +00:00
nabarun deleted branch nv-handle-error 2024-03-12 08:40:24 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/laconicd#20
No description provided.