Skip to content

Should we have a phrase-all function? #15

@ouvanous

Description

@ouvanous

Hi,
Not sure if i understood all correctly but i don't think that there is a method to get all the errors ?
like :

(defn phrase-all
  [context spec x]
  (some->> (s/explain-data spec x)
           ::s/problems
           (map #(phrase context %))))

Do i miss something ?
Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions