Turn off schema validation on libraries

14 views
Skip to first unread message

Santiago Cabrera

unread,
Feb 25, 2025, 11:56:35 AM2/25/25
to Plumbing and Graph: the Clojure utility belt
I'm using schema for all code, executables and libraries. I noticed that in some tests, the schema validation gets worse, but most of the time is spent validations in libraries. I would like to only keep the schema validation when testing the library, but when using it I'd like to only validate my source code, not the source code of the library that by chance also uses schema. Is this possible to achieve? Turn off schema validation on code that is not part of my project?

Jason Wolfe

unread,
Feb 27, 2025, 5:45:18 PM2/27/25
to Santiago Cabrera, Plumbing and Graph: the Clojure utility belt
Unfortunately, I'm not sure there is a way currently.


On Tue, Feb 25, 2025 at 8:56 AM 'Santiago Cabrera' via Plumbing and Graph: the Clojure utility belt <prismatic...@googlegroups.com> wrote:
I'm using schema for all code, executables and libraries. I noticed that in some tests, the schema validation gets worse, but most of the time is spent validations in libraries. I would like to only keep the schema validation when testing the library, but when using it I'd like to only validate my source code, not the source code of the library that by chance also uses schema. Is this possible to achieve? Turn off schema validation on code that is not part of my project?

Confidentiality note: This e-mail may contain confidential information from Nu Holdings Ltd and/or its affiliates. If you have received it by mistake, please let us know by e-mail reply and delete it from your system; you may not copy this message or disclose its contents to anyone; for details about what personal information we collect and why, please refer to our privacy policy.

--
You received this message because you are subscribed to the Google Groups "Plumbing and Graph: the Clojure utility belt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prismatic-plumb...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/prismatic-plumbing/c8fa4f01-6ae1-4d82-ac6a-b60f6be3e56dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages