Scala driver, default collection value when field is absent from document

Hello,

Given the class

case class Person(firstname: String, aliases: Seq[String], lastname: String)

when using Macros to generate the codec

Macros.createCodecProviderIgnoreNone[Person]()

It looks like the codec will fail to deserialize the document if ‘aliases’ is absent (I am not considering the other fields here).

Would it be a reasonable feature to set it as an empty Seq ?

Thanks

You ever get an answer to your question?