implement field selection merging, spec.
in the compiler's db, fields should likely still be separated, but have an api that provides access to the merged field selection which is to be used in validation.