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

tree: support for edge metadata #16

Open
dominicbarnes opened this issue Jul 1, 2017 · 0 comments
Open

tree: support for edge metadata #16

dominicbarnes opened this issue Jul 1, 2017 · 0 comments

Comments

@dominicbarnes
Copy link
Member

From @dominicbarnes on November 21, 2016 19:22

Currently, there's no usage of edge values, so there's no way to distinguish between different edges.

For example, in a database seed system I'm building, there's a distinction between "schema" definitions and "data" definitions, ideally I'd like to easily distinguish between these 2 so the schema can be run first.

I will try to handle this cleanly in the plugin itself, but will probably lean on the tree to maybe expose something like this. (ie: Tree#addDependency(file, metadata)) This complicates the current system a lot, since it'd be a breaking change to modify the way Tree#getDependencies() works. (maybe will need to hide behind a flag)

Copied from original issue: makojs/tree#38

@dominicbarnes dominicbarnes changed the title Add support for edge metadata tree: support for edge metadata Jul 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant