I would like to make parse errors available over an admin api, so I need to convert ariadne::Report to string.
But I see only a print() and eprint() function. How can I convert it to String?
Is their any reason why ariadne::Report do not impl the std::fmt::Display trait?
I would like to make parse errors available over an admin api, so I need to convert
ariadne::Report
to string. But I see only aprint()
andeprint()
function. How can I convert it toString
? Is their any reason whyariadne::Report
do not impl thestd::fmt::Display
trait?