Open
Description
We should make the AnnotatedValue
class generic over the value that is being annotated. Doing so would improve type safety in cases like this.
Also, we should consider exposing AnnotatedValue
in public API, as it seems useful outside the SDK.