You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a mutex around the inner map, or create a Clone() function so that if a user wants to concurrently validate things, they need to clone the schema loader first.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi there,
I noticed that I cannot concurrently validate a payload against a schema even though all of my schemas were pre-loaded.
To reproduce, concurrently run the following code:
I see two solutions here:
Add a mutex around the inner map, or create a
Clone()
function so that if a user wants to concurrently validate things, they need to clone the schema loader first.Thanks!
The text was updated successfully, but these errors were encountered: