diff --git a/lib/bson/decoder.ex b/lib/bson/decoder.ex index d953453a..15374ba6 100644 --- a/lib/bson/decoder.ex +++ b/lib/bson/decoder.ex @@ -218,5 +218,5 @@ end defmodule BSON.PreserverOrderDecoder do @moduledoc false - use BSON.DecoderGenerator, preserve_order: :order + use BSON.DecoderGenerator, preserve_order: :__order__ end