Skip to content

Fix mod name#5

Merged
wistefan merged 2 commits intomainfrom
fix_mod_name
Apr 6, 2023
Merged

Fix mod name#5
wistefan merged 2 commits intomainfrom
fix_mod_name

Conversation

@wistefan
Copy link
Collaborator

@wistefan wistefan commented Apr 6, 2023

No description provided.

wistefan added 2 commits April 6, 2023 09:09
fix package declaration
tidy
@wistefan wistefan added the minor Should be applied for new functionality or bigger updates. label Apr 6, 2023
@wistefan wistefan merged commit 42b9dba into main Apr 6, 2023
@wistefan wistefan deleted the fix_mod_name branch April 6, 2023 07:15
wistefan added a commit that referenced this pull request Mar 5, 2026
…, api_api (#5)

## Summary
- **key_resolver.go**: Replace `api.VDR` with `did.VDR`, return JWK directly from custom `VerificationMethod.JSONWebKey()` — eliminates the JSON serialize/parse round-trip
- **request_object_client.go**: Replace trustbloc VDR instantiation with `did.NewKeyVDR()`, `did.NewJWKVDR()`, `did.NewWebVDR()`
- **openapi/api_api.go**: Same VDR replacement
- **key_resolver_test.go**: Rewrite mock VDR and helpers to use custom `did` types (simpler interface — no Create/Update/Deactivate/Close)
- Net: -91 lines removed, +45 added

## Test plan
- [x] `go test ./verifier/... -v` — all tests pass
- [x] `go test ./openapi/... -v` — all tests pass
- [x] `go test ./...` — full suite passes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Stefan Wiedemann <wistefan@googlemail.com>
Reviewed-on: http://localhost:3000/wistefan/verifier/pulls/5
Reviewed-by: wistefan <wistefan@googlemail.com>
Co-authored-by: claude <claude@gitea.com>
Co-committed-by: claude <claude@gitea.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Should be applied for new functionality or bigger updates.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant