Skip to content

Commit

Permalink
Preserve ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyshields authored and p committed May 19, 2022
1 parent 685ac5d commit 8a9e80a
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 8a9e80a

Please sign in to comment.