Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use :root as a special value representing the root of the given context #238

Open
timriley opened this issue Jun 23, 2022 · 0 comments
Open

Comments

@timriley
Copy link
Member

We can use this for at least these three places (and we can add type checking to require that the given value is either :root or a String, and nothing else):

config.component_dirs.add(:root)

component_dir.namespaces.add(:root, ...)

import, from: OtherContainer, as: :root

@solnic solnic moved this to Backlog in 🌸 Hanami 2.0 Jul 1, 2022
@solnic solnic moved this from Backlog to Icebox in 🌸 Hanami 2.0 Jul 1, 2022
@solnic solnic moved this from Icebox to Backlog in 🌸 Hanami 2.0 Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant