Skip to content

Commit

Permalink
Preserve ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyshields committed May 16, 2022
1 parent 9647e35 commit 5528186
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/mongoid/fields.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ module Mongoid
module Fields
extend ActiveSupport::Concern

# @deprecated Use Mongoid::Fields::FieldTypes.mapping instead
TYPE_MAPPINGS = ::Mongoid::Fields::FieldTypes::DEFAULT_MAPPING

StringifiedSymbol = Mongoid::StringifiedSymbol
Boolean = Mongoid::Boolean

# @deprecated Use Mongoid::Fields::FieldTypes.mapping instead
TYPE_MAPPINGS = ::Mongoid::Fields::FieldTypes::DEFAULT_MAPPING

# Constant for all names of the _id field in a document.
#
# This does not include aliases of _id field.
Expand Down

0 comments on commit 5528186

Please sign in to comment.