Function attachFieldResolversToSchema