metosin / metosin/schema-tools
Define a contract for `spec-tools/spec` and `schema-tools/schema`
Open
enhancement
help wanted
- Dominant language
- Clojure
- Stars
- 110
- Forks
- 15
- Avg merge
- 6m
- Merged PRs (30d)
- 1
Description
Same contract for both for easy travel in between:
```clj
(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
Contributor guide
Research direction
Start by reading the schema-tools.core/spec and schema entry points and the related spec-tools issue 23. Compare the two example calls and determine the shared contract and option behavior; done means both entry points follow the agreed contract for equivalent inputs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100