Skip to content

Conversation

@michaeladler
Copy link
Contributor

Summary

Commit dd9b662 inadvertently made Context fields and subfields inaccessible to library users, breaking the ability to inspect Context contents (e.g., using AsMap()). This change restores public visibility to the relevant Context fields, allowing external code to access all necessary data. Internal fields (e.g., those used for caching) remain private.

Additionally, this commit removes the unused 'typ' field from Values by inlining its default value (the empty string), as it was never set.

Motivation

  • Restore previous behavior
  • Having the possibility to introspect the Context can be useful for downstream, 3rd party libraries

Checks

  • Passes make test

Commit dd9b662 inadvertently made Context fields and subfields
inaccessible to library users, breaking the ability to inspect Context
contents (e.g., using AsMap()). This change restores public visibility
to the relevant Context fields, allowing external code to access all
necessary data. Internal fields (e.g., those used for caching) remain
private.

Additionally, this commit removes the unused 'typ' field from Values by
inlining its default value (the empty string), as it was never set.

Signed-off-by: Michael Adler <michael.adler@siemens.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant