Context: In the Godot SDK, we need to provide access to event contexts carried by events inside before-send handler. The Godot's API would look like this: SentryEvent.get_context("os"). With sentry_value_t object, we can only ask for a specific value by key, but in order to get all the data for specific context, we need to know which keys that context carries. Ideally, we should be able to iterate over key-value pairs contained in the given object.
Proposal: add API to iterate object key-value pairs (or just the keys).
Context: In the Godot SDK, we need to provide access to event contexts carried by events inside
before-sendhandler. The Godot's API would look like this:SentryEvent.get_context("os"). Withsentry_value_tobject, we can only ask for a specific value by key, but in order to get all the data for specific context, we need to know which keys that context carries. Ideally, we should be able to iterate over key-value pairs contained in the given object.Proposal: add API to iterate object key-value pairs (or just the keys).