Hi, while I am decoding my Document, I can see that BSONDecoder doesn't treat my snake case key like standard swift JSONDecoder with option convertFromSnakeCase in KeyCodingStrategy. I have to explicit use CodingKey to map snake case to camel case very handy. Also, I go to BSONDecoder implementation and it seems like don't have any options like convertFromSnakeCase. As my question, BSON will handle this option or something which will handle this?
Hi, while I am decoding my Document, I can see that BSONDecoder doesn't treat my snake case key like standard swift
JSONDecoder
with optionconvertFromSnakeCase
inKeyCodingStrategy
. I have to explicit useCodingKey
to map snake case to camel case very handy. Also, I go toBSONDecoder
implementation and it seems like don't have any options likeconvertFromSnakeCase
. As my question, BSON will handle this option or something which will handle this?Thanks!