Closed kirillsalykin closed 4 years ago
Why not build that up manually? Clip doesn't use keyword derivation, and being explicit about the used components seems useful.
What's the use-case?
The use case is next:
for instance there is an executor
service (which executes actions) and there are several action
s.
Thus, the executor
has action
s as a dependency.
But probably indeed it is easier to have them added manually...
Thanks.
The reason I would encourage you to go manual is that refset creates a implicit link between things. The way it is written makes the link harder to see.
Besides, it falls apart when you have two executors.
It is annoying to duplicate, but I think the explicit flow is worth it in the long term.
I agree that explicit is better.
Thanks for the answer.
Similar to https://github.com/weavejester/integrant#refs-vs-refsets
Currenlty ref returns only one thing, it would be nice to have ability to reference multiple things.
So
foob
accepts[foo1 foo2 foo3]
or maybe event better{:foo1 <resolved>, :foo2 <resolved> , :foo3 <resolved>}
.