Skip to content

Don't overwrite :wrap_runtime when using #wtf? and allow multiple runtime extensions instead #46

@apotonick

Description

@apotonick

Currently, when using #wtf?, the :wrap_runtime option is overwritten:

wrap_runtime: ::Hash.new(Trace.task_wrap_extensions), # DISCUSS: this overrides existing {:wrap_runtime}.

Instead of supporting a pure Hash for this option, we should have a mechanism similar to the DSL (wrap_static) where the Ext() options are automatically merged. The latter could happen in trace.rb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions