For the validation we need another representation of the query that
already contains the effective selection sets for each field and
certain properties of the fields. As we don't want to adapt the sangria
representation, we build our own here during traversal of the query.
For the validation we need another representation of the query that already contains the effective selection sets for each field and certain properties of the fields. As we don't want to adapt the sangria representation, we build our own here during traversal of the query.