Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use Put and Get for DID in doobie statement #1250

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Conversation

patlo-iog
Copy link
Contributor

@patlo-iog patlo-iog commented Jul 5, 2024

Description:

During integration testing, there was a bug when using both longForm and shortForm DID together because inconsistency when lookup the table.This PR makes the lookup use Get Put typeclass instead of adhoc .toString.

Alternatives Considered (optional):

Link to existing ADR (Architecture Decision Record), if any. If relevant, describe other approaches explored and the selected approach. Documenting why the methods were not selected will create a knowledge base for future reference, helping prevent others from revisiting less optimal ideas.

Checklist:

  • My PR follows the contribution guidelines of this project
  • My PR is free of third-party dependencies that don't comply with the Allowlist
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked the PR title to follow the conventional commit specification

@patlo-iog patlo-iog changed the title fix: use Put and Get for DID in dooble statement fix: use Put and Get for DID in doobie statement Jul 5, 2024
@patlo-iog patlo-iog enabled auto-merge (squash) July 5, 2024 11:02
Copy link
Contributor

github-actions bot commented Jul 5, 2024

Integration Test Results

18 files  ±0  18 suites  ±0   2s ⏱️ ±0s
39 tests ±0  39 ✅ ±0  0 💤 ±0  0 ❌ ±0 
64 runs  ±0  64 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 72cdabf. ± Comparison against base commit cfd5101.

Copy link
Contributor

github-actions bot commented Jul 5, 2024

Unit Test Results

 96 files  ±0   96 suites  ±0   22m 3s ⏱️ -26s
826 tests ±0  818 ✅ ±0  8 💤 ±0  0 ❌ ±0 
833 runs  ±0  825 ✅ ±0  8 💤 ±0  0 ❌ ±0 

Results for commit 72cdabf. ± Comparison against base commit cfd5101.

@patlo-iog patlo-iog merged commit fc1cf51 into main Jul 5, 2024
15 checks passed
@patlo-iog patlo-iog deleted the fix/use-putget-did branch July 5, 2024 12:05
hyperledger-bot added a commit that referenced this pull request Jul 15, 2024
# [1.38.0](cloud-agent-v1.37.0...cloud-agent-v1.38.0) (2024-07-15)

### Bug Fixes

* Move InMemory classes to the test moduels ([#1240](#1240)) ([823057a](823057a))
* move mocks into the test modules ([#1236](#1236)) ([df83026](df83026))
* use Put and Get for DID in doobie statement ([#1250](#1250)) ([fc1cf51](fc1cf51))
* Wallet Management Error Handling ([#1248](#1248)) ([cfd5101](cfd5101))

### Features

* upgrade docusaurus and semantic-release packages ([de53f1d](de53f1d))

Signed-off-by: Allain Magyar <[email protected]>
shotexa pushed a commit that referenced this pull request Jul 17, 2024
Signed-off-by: Pat Losoponkul <[email protected]>
Signed-off-by: Shota Jolbordi <[email protected]>
shotexa pushed a commit that referenced this pull request Jul 17, 2024
# [1.38.0](cloud-agent-v1.37.0...cloud-agent-v1.38.0) (2024-07-15)

### Bug Fixes

* Move InMemory classes to the test moduels ([#1240](#1240)) ([823057a](823057a))
* move mocks into the test modules ([#1236](#1236)) ([df83026](df83026))
* use Put and Get for DID in doobie statement ([#1250](#1250)) ([fc1cf51](fc1cf51))
* Wallet Management Error Handling ([#1248](#1248)) ([cfd5101](cfd5101))

### Features

* upgrade docusaurus and semantic-release packages ([de53f1d](de53f1d))

Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Shota Jolbordi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants