ajv-validator / ajv-validator/ajv
Clone object instead of modifying in-place
Abierto
enhancement
- Lenguaje dominante
- TypeScript
- Estrellas
- 14.8k
- Forks
- 1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Currently, modifications to objects (like `removeAdditional`) are done in-place on the object.
Please provide an option to either:
a) Deep clone the object while validating.
b) Copy-on-write objects that are getting modified.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.