Commit d2391fc3 authored by Stefan Cameron's avatar Stefan Cameron

Update some TODO items

parent ee77ad56
......@@ -32,15 +32,13 @@ Shapes must be:
# TODO
- [ ] Implement the library...
- [ ] Add a ONE_OF type to check the value is in an enumeration (array of values) -- or make this part of STRING or NUMBER args?
- [ ] Debug the generated docs (including private docs), checking for broken links...
- [ ] Unit tests must be run both in the browser and in Node.js
- [ ] Unit tests must be run both in the browser and in Node.js -- in the browser via Gitlab CI
- [ ] Add Gitlab CI config, or use TravisCI?
- [ ] Publish to npm
- [ ] Add `.npmignore`
- [ ] Make sure 'Goals' section is complete and accurate, add some links
- [ ] Make sure `CONTRIBUTING.md` is filled-out
- [ ] Collect `// TODO[future]` comments as new items in this list?
# Future
......
......@@ -163,6 +163,12 @@ import Enumeration from './Enumeration';
* @see {@link rtvref.qualifiers}
*/
// TODO[future]: Consider adding a `strict` or `restrict` flag in the args to
// fail validation if any own-properties are found which are NOT in the shape
// if enough users ask for it. Not adding this immediately because that's not
// the true spirit of a shape, which is an interface. The consumer of the object
// matched to a shape shouldn't care what _other_ properties are on the object,
// just that the properties described in the shape are as expected.
/**
* <h3>Shape Object Arguments</h3>
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment