Skip to content

Commit 3a39ad5

Browse files
chore: added comment
1 parent 423d653 commit 3a39ad5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/validate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ function validate(schema, options, configuration) {
117117
* @returns {Array<SchemaUtilErrorObject>}
118118
*/
119119
function validateObject(schema, options) {
120+
// Not need to cache, because `ajv@8` has built-in cache
120121
const compiledSchema = getAjv().compile(schema);
121122
const valid = compiledSchema(options);
122123

0 commit comments

Comments
 (0)