absoluteTo

open fun absoluteTo(parent: QueryField<*>?): QueryField<T>

This field, absolute: under parent unless its path already lies under it, the one rule of a path under a prefix, which the filter and projection DSLs' blocks follow. A name equal to the parent's is under it: state in state is state.state. The rule cannot tell one case: a path that starts with the parent's path and a dot reads as already absolute, so a field of that same name one level down is written from the root (state.state.name, not state.name). That is what lets a generated field constant, which is absolute, be used inside a block.