MappingTypeSafeClient, a TypeSafeClient decorator that maps a record's
@Noul/@Choice/@Score-annotated components into an EvaluateRequest and the response back into
an instance of that same record, via reflection, so a caller gets a typed record instead of
Map<String, Answer> and a manual cast. Depends only on typesafe-java-core.
Compile Dependencies (1)
| Category/License | Group / Artifact | Version | Updates | |
|---|---|---|---|---|
MIT
| io.github.dfa1.typesafe-java
»
typesafe-java-core TypeSafeClient, ApiKey, TypeSafeException, the wire DTOs, and the JsonCodec/HttpTransport | 0.5.0 | ✔ |
Test Dependencies (3)
| Category/License | Group / Artifact | Version | Updates | |
|---|---|---|---|---|
MIT
| io.github.dfa1.typesafe-java
»
typesafe-java-testkit Two TypeSafeClient test doubles for unit-testing code that calls it without | 0.5.0 | ✔ | |
Assertion
Apache 2.0
| org.assertj
»
assertj-core Rich and fluent assertions for testing in Java | 3.27.7 | ✔ | |
Testing
EPL 2.0
| org.junit.jupiter
»
junit-jupiter Module "junit-jupiter" of JUnit | 5.10.2 | 6.1.3 |