Skip to content

Add ability to iterate object keys #2017

Description

@limbonaut

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions