Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Formatting for malli schemas #359

@bolivier

Description

@bolivier

I haven't been able to find a good way to format my malli schemas.

What I'd like to do is have a macro like defschema that (for now) just aliases def and tell zprint that it should only manage indentation there. This doesn't throw an error, but it doesn't respect my newlines either. Any ideas?

:fn-map {"defschema" [:arg1-body {:style :indent-only}]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions