Skip to content

Add support for custom assertf definitions #94

@futuro

Description

@futuro

Hello!

Thank you for making Integrant, I've started adopting it and I love how simple it is to use and how clearly it defines dependencies between my components!

I'm also using Malli, and I was hoping to leverage Malli schemas with the pre-init-spec multimethod, but it looks like assert-pre-init-spec only works with Spec.

Are you open to a PR to update init and resume to take another argument, allowing callers to provide a different assertion function, with assert-pre-init-spec being the default?

Thanks!
Evan

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