Skip to content

Expose invocation properties in restate.Context #204

@aelci

Description

@aelci

restate.server_context.ServerInvocationContext has invocation and handler fields. These are very useful for things like telemetry, logging or adding special handling using invocation IDs. However, these fields are hidden by the restate.Context interface.

Can we publicly expose these two fields on the restate.Context ABC, so that workers or wrapper libraries don't have to access the type of the underlying implementation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions