pub fn parse_doc(
    schema: &Schema,
    document: &ExecutableDocument
) -> Result<IRQuery, FrontendError>