* Merges in logic from another schema to this one. * @param other The other schema to merge in the logic from * @param predicate A predicate indicating when the merged in logic should be active.
(other: SchemaImpl, predicate?: Predicate)
| 83 | * @param predicate A predicate indicating when the merged in logic should be active. |
| 84 | */ |
| 85 | mergeIn(other: SchemaImpl, predicate?: Predicate) { |
| 86 | const path = other.compile(); |
| 87 | this.builder.mergeIn(path.builder, predicate); |
| 88 | } |
| 89 | |
| 90 | /** Extracts the underlying path node from the given path proxy. */ |
| 91 | static unwrapFieldPath(formPath: SchemaPath<unknown, SchemaPathRules>): FieldPathNode { |