feat: enable data refs
This commit is contained in:
parent
d58ed74b65
commit
2b0dc923d3
|
@ -36,6 +36,7 @@ export class VisitorContext implements VisitorContextOptions, VisitorResult {
|
|||
this.errorBuffer = [];
|
||||
|
||||
this.ajv = new Ajv({
|
||||
$data: true,
|
||||
coerceTypes: options.innerOptions.coerce,
|
||||
useDefaults: options.innerOptions.defaults,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue