diff --git a/lib/common/basevisitor.js b/lib/common/basevisitor.js index f733cd1..a2056c1 100644 --- a/lib/common/basevisitor.js +++ b/lib/common/basevisitor.js @@ -194,6 +194,7 @@ class BaseVisitor { * @protected */ visitScalarField(field, parameters) { + field.getDecorators().forEach(decorator => decorator.accept(this, parameters)); this.visitField(field.getScalarField(), parameters); }