File tree Expand file tree Collapse file tree
packages/angular_devkit/core/src/json/schema Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export interface SchemaRegistry {
8585 /**
8686 * Add a transformation step before the validation of any Json.
8787 * @param {JsonVisitor } visitor The visitor to transform every value.
88- * @param {JsonVisitor[] } deps A list of other visitors to run before.
88+ * @param {JsonVisitor[] } deps [Deprecated] A list of other visitors to run before. Add transforms in the desired execution order instead .
8989 */
9090 addPreTransform ( visitor : JsonVisitor , deps ?: JsonVisitor [ ] ) : void ;
9191
@@ -94,7 +94,7 @@ export interface SchemaRegistry {
9494 * after the POST, so if transformations are not compatible with the Schema it will not result
9595 * in an error.
9696 * @param {JsonVisitor } visitor The visitor to transform every value.
97- * @param {JsonVisitor[] } deps A list of other visitors to run before.
97+ * @param {JsonVisitor[] } deps [Deprecated] A list of other visitors to run before. Add transforms in the desired execution order instead .
9898 */
9999 addPostTransform ( visitor : JsonVisitor , deps ?: JsonVisitor [ ] ) : void ;
100100}
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ export class CoreSchemaRegistry implements SchemaRegistry {
171171 /**
172172 * Add a transformation step before the validation of any Json.
173173 * @param {JsonVisitor } visitor The visitor to transform every value.
174- * @param {JsonVisitor[] } deps A list of other visitors to run before.
174+ * @param {JsonVisitor[] } deps [Deprecated] A list of other visitors to run before. Add transforms in the desired execution order instead .
175175 */
176176 addPreTransform ( visitor : JsonVisitor , deps ?: JsonVisitor [ ] ) : void {
177177 this . _pre . add ( visitor , deps ) ;
@@ -182,7 +182,7 @@ export class CoreSchemaRegistry implements SchemaRegistry {
182182 * after the POST, so if transformations are not compatible with the Schema it will not result
183183 * in an error.
184184 * @param {JsonVisitor } visitor The visitor to transform every value.
185- * @param {JsonVisitor[] } deps A list of other visitors to run before.
185+ * @param {JsonVisitor[] } deps [Deprecated] A list of other visitors to run before. Add transforms in the desired execution order instead .
186186 */
187187 addPostTransform ( visitor : JsonVisitor , deps ?: JsonVisitor [ ] ) : void {
188188 this . _post . add ( visitor , deps ) ;
You can’t perform that action at this time.
0 commit comments