[Koha-bugs] [Bug 30194] Update required JSON::Validator version

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 8 23:58:56 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30194

--- Comment #17 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to David Cook from comment #14)
> Sounds good to me.
> 
> I'm most excited about this:
> https://github.com/jhthorsen/mojolicious-plugin-openapi/commit/
> 673079d19f827ce8c8ab3a2943a4abc798fa1e18
> 
> I've found that Mojolicious::Plugin::OpenAPI causes multi-tenant Koha to
> startup slowly and consume a lot of CPU, so really looking forward to being
> able to use the "skip_validating_specification" option. (I figure we should
> validate it at least once, but really shouldn't need to re-validate it for
> every app startup...)

I think something can be done with JSON::Validator::Store. My first
implementation used that, but didn't have enough time to think of possible side
effects (it clearly needs reviewing the JSON::Validator code just in case).

And for the record: the reason we validate the spec is so we are able to inject
routes from plugins.

But maybe we are doing it twice hmmm

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list