We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fd2d0c commit cefb86cCopy full SHA for cefb86c
index.js
@@ -4,7 +4,13 @@ function build (schema) {
4
/*eslint no-new-func: "off"*/
5
var code = `
6
'use strict'
7
+ `
8
+ // used to support patternProperties and additionalProperties
9
+ // they need to check if a field belongs to the properties in the schema
10
+ code += `
11
const properties = ${JSON.stringify(schema.properties)}
12
13
14
${$asString.toString()}
15
${$asStringSmall.toString()}
16
${$asStringLong.toString()}
0 commit comments