Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass function metadata to malli.core/-instrument #680

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 31, 2022

  1. Pass function metadata to malli.core/-instrument

    This change extends the third arity of malli.core/-instrument so that it
    optionally accepts the metadata of the old function. That metadata is
    passed downstream to the `report` function.
    
    This new modality is called in malli.instrument so that when we render
    we can know the name (and the source file location) of the offending
    function.
    meditans committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    05e7b6b View commit details
    Browse the repository at this point in the history