-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
featureNew functionality or improvementNew functionality or improvement
Milestone
Description
Currently, the separator of Joi.reach is fixed as a dot. This might not be a good choices for for use cases where object keys are e-mails or URLs, causing the method not to behave as expected.
I would suggest adding a third parameter separator to that method, allowing to be user-configured. For example, slashes can make sense for compatibility with JSON patch. The default would remain a dot for compatibility.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew functionality or improvementNew functionality or improvement