Skip to content

go-oidfed/lib 0.13.1

Choose a tag to compare

@zachmann zachmann released this 21 Oct 13:20
· 20 commits to main since this release
cef5ffd

Fixes

  • Fixed a panic in Metadata.ApplyPolicy (and the resolver path TrustChain.Metadata) when a metadata policy
    covers an Entity Type the module has no Go struct for (custom entity types). Metadata for such a type lives in
    Metadata.Extra as a map[string]any; the policy is now applied per metadata parameter by key (with default/value operators able to establish previously-absent parameters), instead of reflect.Value.Elem panicking on the map. The input metadata is not mutated.