File: TODO

package info (click to toggle)
ruby-axiom-types 0.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 540 kB
  • ctags: 136
  • sloc: ruby: 1,901; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TODO
----

* Add finite limits to all "primitive" types.

* Add optional constraint on Date for the timezone
* Add optional constraint on DateTime for the timezone
* Add optional constraint on Time for the timezone
* Add optional regexp constraint to String
  * format /\A[a-z]+\z/
* Add optional allowed characters constraint to String
  * allowed_characters 'a', 'b', 'c'
  * allowed_characters 'a'..'c'
  * allowed_characters 'a'..'c', 'e', 'f', 'g', 'i'
  * allowed_characters 'a'..'c', 'e'..'g', 'i'

* When axiom-logic is available, replace the Proc based constraints with real
  predicates so that they can be serialized into SQL or optimized, etc.
  * Can be performed as part of type finalization