We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd84f48 commit 56d087dCopy full SHA for 56d087d
index.js
@@ -161,8 +161,6 @@ function build (schema, options) {
161
}
162
163
164
- const dependenciesName = ['validator', 'serializer', contextFunctionCode]
165
-
166
if (options.debugMode) {
167
options.mode = 'debug'
168
@@ -171,7 +169,7 @@ function build (schema, options) {
171
169
return {
172
170
validator,
173
serializer,
174
- code: dependenciesName.join('\n'),
+ code: `validator\nserializer\n${contextFunctionCode}`,
175
ajv: validator.ajv
176
177
0 commit comments