[spec] spec creation should allow checking validity of specs

Description

There should be ways to fail-fast on spec creation if the values are invalid. Currently, invalid specs can be created, which will fail late on calls to `s/valid?` etc.

Environment

None

Assignee

Unassigned

Reporter

Tommi Tommi

Labels

Approval

Triaged

Patch

None

Affects versions

Priority

Major
Configure