Fwd: YAML Schema Feedback
Trans <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <CAEu+kw1JdRLjD0=W6WL9k6hckDNoiXDuobaKA8aQsw5gaU5meQ@mail.gmail.com> |
Interesting. Let me see if I understand correctly... Are you saying that
you think schemas should only apply to tags, and a separate "tag
resolution" spec would match tags to node paths?
So we would have something like an "implicit tag" file that maps YPaths to
tags.
people/*: person
Then in a separate schema file mapping tags to constraints:
person:
name: !spec
regexp: '[^/n]'
Is that the idea?
I like the idea of separation of concern very much. My only worry is that
the actual separation might not be so clean.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core