[spec] force a function to validate it's input using fdef definitions

Description

Currently, there is no way to force function fdef validation on, outside of tests and immune to override with dynamic vars. Forcing a validation in a function can be done using either with a) re hook or b) a manual s/conform / s/valid? call but those do not contribute to the function documentation. There are many use-cases for functions that always validate the inputs, e.g. when configuring components on application startup, done once where the performance penalty doesn't matter and correctness is important.

Schema has the :always-validate metadata for this case:

Environment

None

Activity

Show:
Tommi Tommi
March 27, 2019, 3:50 PM

Maybe something like:

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Tommi Tommi

Labels

Priority

Minor

Affects versions