kaocha icon indicating copy to clipboard operation
kaocha copied to clipboard

Add validation to defplugin

Open plexus opened this issue 5 years ago • 2 comments

It would be helpful if defplugin would complain if you used a hook which doesn't exist, or if the associated function has the wrong arity.

plexus avatar Jan 18 '19 02:01 plexus

I think validation is important enough that we want to keep this feature idea open.

alysbrooks avatar Jul 03 '23 23:07 alysbrooks

How many third party plugins are there? How many people have asked for support because they got the invocation wrong?

I can find five, so about one a year. I don't see work on validation for defplugin having enough impact to justify the effort.

On Tue, Jul 4, 2023, 01:38 A Brooks @.***> wrote:

I think validation is important enough that we want to keep this feature idea open.

— Reply to this email directly, view it on GitHub https://github.com/lambdaisland/kaocha/issues/32#issuecomment-1619259951, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAH3VBHJL4PKPQFO4POQHLXONJVRANCNFSM4GQ4Q52Q . You are receiving this because you authored the thread.Message ID: @.***>

plexus avatar Jul 04 '23 13:07 plexus