• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

input-output-hk / atala-prism-wallet-sdk-swift / 9466819027

11 Jun 2024 01:48PM UTC coverage: 40.328% (-0.5%) from 40.822%
9466819027

Pull #145

github

web-flow
Merge 1399bca59 into 8e68386ce
Pull Request #145: feat(pollux): add support for sd-jwt

76 of 394 new or added lines in 20 files covered. (19.29%)

2 existing lines in 2 files now uncovered.

4518 of 11203 relevant lines covered (40.33%)

16.34 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/EdgeAgentSDK/Pollux/Sources/Models/SDJWT/SDJWT+Codable.swift
1
import Foundation
2

3
extension SDJWTCredential: Codable {
4
    enum CodingKeys: String, CodingKey {
5
        case sdjwtString
6
    }
7

NEW
8
    func encode(to encoder: any Encoder) throws {
×
NEW
9
        var container = encoder.container(keyedBy: CodingKeys.self)
×
NEW
10

×
NEW
11
        try container.encode(sdjwtString, forKey: .sdjwtString)
×
NEW
12
    }
×
13

NEW
14
    init(from decoder: any Decoder) throws {
×
NEW
15
        let container = try decoder.container(keyedBy: CodingKeys.self)
×
NEW
16

×
NEW
17
        let sdjwtString = try container.decode(String.self, forKey: .sdjwtString)
×
NEW
18

×
NEW
19
        try self.init(sdjwtString: sdjwtString)
×
NEW
20
    }
×
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc