Thanks for giving direction regarding the way to use and the page mentioned.
Reading through the about page, I still don't understand the exact reason to go with a global store/db for specs.
The page states:
> Specs for data structures, attribute values and functions should all be the same and live in a globally-namespaced directory.
But it doesn't clarify why specs should live in a globally-namespaced directory.
However, I don't want to challenge the implementation, as I think overall its a great tool. Just wanted to understand why its built that way.
With the current implementation, is there a good reason why map keys declared with :req-un do not allow qualified names in addition to unqualified ones (as that would further simplify my case). One could argue that a :req-un [ :id ] requires an :id keyword to be present. So it could also be ok to have a "more qualified" version as ":user/id" which is also referring to an id.
As an added benefit that could "lift" map keywords to a certain namespace when using conform:
=> (s/conform :qualified/user {:id "some-id". ..})
{ :qualified/user/id "some-id" }
Does that make sense?
Thanks for sharing your view!