Skip to content

New legacy bridge example does not run in global scope #17590

Closed
@micaherne

Description

@micaherne

The recent update to the example legacy bridge code (99eecb6) now runs the legacy script inside a method which breaks the distinction between the two methods of migrating. In particular the main benefit of the legacy bridge over the legacy loader in the text is "since the old script is called in the global variable scope it will reduce side effects on the old code which can sometimes require variables from the global scope". This is no longer the case and it's now difficult to see much benefit of the legacy bridge method.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions