schema-tools icon indicating copy to clipboard operation
schema-tools copied to clipboard

Define a contract for `spec-tools/spec` and `schema-tools/schema`

Open ikitommi opened this issue 8 years ago • 0 comments

Same contract for both for easy travel in between:

(schema-tools.core/spec
   integer?
   {:description "kikka"
    :type-hint :long
    :default 1})

(schema-tools.core/schema
   Long
   {:description "kikka"
    :default 1})

Relates https://github.com/metosin/spec-tools/issues/23

ikitommi avatar Feb 10 '17 12:02 ikitommi