Skip to content

Endpoint not adding inherited helpers to its scopeΒ #2627

@giorni

Description

@giorni

c6b72d8 breaks helpers inheritance in grape 3.0.0. From what I tested it seems that because helpers are built at initialization, before the call to inherit_settings, it only adds local blocks and modules to its scope. If that call is moved back to lazy_initialize! it works as what I think is expected.

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