Closed pshirshov closed 3 days ago
We might want to declare 'privateness' on memoization level itself, not on the module. So e.g. we want docker memoization level to not pass on Clock instance further, but we don't want Clock to be non-singleton on every single level of memoization.
Sounds like a great feature 👍
We might want to support "private" bindings which would never be exposed in
Locator
s produced by the interpreter.It might be useful to, for example, hide bootstrap context members from the rest of the application.
Alternatively we might hide everything apart from the graph roots and an optional list of "public" keys.
We should add a way to tell
produce
to respect private declarations and this should be on by default. There still may be situation when user might want to make everything public.