* Create a bound version of the given predicate to a specific depth in the field tree. * This allows us to unambiguously know which `FieldContext` the predicate function should receive. * * This is of particular concern when a schema is applied recursively to itself. Since the schema is * only c
(predicate: Predicate, depth: number)
| 551 | * @returns A bound predicate |
| 552 | */ |
| 553 | function bindLevel(predicate: Predicate, depth: number): BoundPredicate { |
| 554 | return {...predicate, depth: depth}; |
| 555 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…