Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces an experimental angle-brackets feature that provides a convenient shorthand syntax for accessing nested aspects through the __findFile mechanism. Instead of using verbose den._.import-tree._.host syntax, users can now use <import-tree/host> to reference deeply nested aspects.
- Implements
angleBracketsfunction to resolve angle bracket notation to nested aspect paths - Updates example configuration to demonstrate the new angle bracket syntax
- Adds documentation explaining the alias notation and experimental feature
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| modules/lib.nix | Implements the angleBrackets function and exposes __findFile for angle bracket resolution |
| templates/default/modules/_example/import-non-dendritic.nix | Updates examples to use new angle bracket syntax instead of verbose den._. notation |
| README.md | Documents the provides alias and mentions the experimental angle-brackets feature |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0ab3b52 to
e6b9293
Compare
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Allows writing
<foo/bar/baz>instead ofden.aspects.foo.provides.bar.provides.bazor evenden.aspects.foo._.bar._.baz.See the tested example usage