Closed ouadi closed 10 years ago
Hey @ouadi, it seems like something changed in one of the devDependencies
that we use for testing. It appears to be either gent
or buster
or perhaps something about the integration between those two. I'll look into it ASAP and let you know what I find. Thanks for reporting the problem!
As for the $import
feature, I'll think about where might be the best place to implement it. Due to the way wire works, the imports will have to be gathered and mixed into the spec very early, likely before any real wiring starts, and definitely before any plugins are allowed to execute.
Hi @briancavalier ,
I have already implemented and tested the $imports feature. I will initiate a PR for validation and, eventualy, integration in the main stream.
Warm regards
Younes
Wow, that's great @ouadi! I just merged #163 which should fix the testing issue. Pull latest master and let me know if it works for you.
Perfect @briancavalier. All tests complete with success including.
I have submitted a PR (see #164 ). Did you see it?
Thanks for confirming, @ouadi. Yeah, I saw #164, but I haven't had time to look at it. I should have time this weekend to dig into it.
Let's close this issue and we can use #164 for discussion.
Hello Dears,
I'm working on adding a new feature that alllows import of a context-spec into another.
The idea is inspired from the feature provided by Spring where a context would import the content of another context using the
<import />
element.My goal is to add support of the following declaration in wire-spec
Or:
The content of wire-specs declared with the new keyword
$import
will be inlined with the importing wire-spec.To do so, I have forked
cujojs/wire
repository then clone it. Thenpm install
has been executed with success. However,npm test
has failed with the following message.What I'm missing?
Cheers
Younes