Weaver
Weaver copied to clipboard
Implement a per domain access level feature
Access levels could be imagined this way.
A domain is a group of dependencies and dependents. As soon as a dependency is in the same domain as a dependent, access is granted, otherwise it is denied.
A dependency registration could be added to a domain like so:
// weaver: foo.domains = "everything", "nothing"
An injectable type could be added to a domain like so:
// weaver: self.domains = "everything", "nothing"