Open MajorMeerkatThe3rd opened 1 year ago
When using the pattern command, I get the error "Schema can only contain plain objects". This only happens when trying to enable SSR.
pattern
import Joi from "joi"; // copy pasted from the example const schema = Joi.object({ a: Joi.string() }).pattern(/\w\d/, Joi.boolean());
Support plan
Context
How can we help?
When using the
pattern
command, I get the error "Schema can only contain plain objects". This only happens when trying to enable SSR.