This repository was archived by the owner on Aug 17, 2022. It is now read-only.
Why are the core module exports completely inaccessible? #75
Open
Description
I am wondering why the explainer currently says that the core module exports are completely inaccessible unless the host doesn't have support for interface types or exports are explicitely re-exported. I can't follow why this restrictive approach is desirable. Can someone fill me in on the reasoning?
I admit that I don't have strong use-cases right now, but I feel like there might be situations where skipping the adapter code could be desirable for performance or monkey-patching purposes.
I'd love to somehow allow developers to access the core module exports if necessary, maybe via something like instance.coreExports
or similar.
(cc @RReverser)
Metadata
Metadata
Assignees
Labels
No labels