Skip to content

System validation helpers to be called from your start method #24

@Pancia

Description

@Pancia

Provide helper functions that establish a common pattern for validating components dependencies and arguments when starting up.

Something like:

(defrecord Database
  cmp/Lifecycle
  (start [this]
    (**verify!** ...test-fn... ...maybe-on-error...)
    (when-not (**verify-only?**)
       #_(only when we shouldnt just verify))
    ...start this...))

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