Skip to content

suggestion: support for plain text output #74

@timrobinson33

Description

@timrobinson33

Converting to plain text would be useful for constructing user messages e.g.

(defn validate-field [object attr]
  (when-not (object attr)
    (str (csk/->plain-text attr) " is mandatory")))

(validate-field user :work-email-address)
=> "Work email address is mandatory"

You'd probably need upper case, lower case, sentence case and title case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions