Overriding type coercion/conversion in Absinthe

I’ve got a datasource that returns DateTimes in ISO8601 formatted strings: "2019-11-22T15:58:41Z"

I’ve got a schema set up with some fields that are set to DateTime scalars, from the Absinthe.Type.Custom import described in the absinthe docs.

Right now I have to convert those via DateTime.from_iso8601/1 into datetimes, only for the resolution to later convert them back to a String.

Is there any way I can bypass this conversion for this specific resolution?

I think the only way to bypass this is to create your own datetime type for Absinthe with custom serialize function.