Commit 9ed3c63
authored
MONGOID-5360 Warn when defining field types of BSON::Int64/Decimal128 and other unsupported types (#5291)
* MONGOID-5360 warn on BSON::* types and add docs
* MONGOID-5360 only warn on Int32/64 and Decimal128
* MONGOID-5360 reword the warning
* MONGOID-5360 reword warning
* Update lib/mongoid/fields.rb
* Update lib/mongoid/fields.rb
* MONGOID-5360 update message and freeze array1 parent f563bc0 commit 9ed3c63
2 files changed
+23
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
| |||
731 | 736 | | |
732 | 737 | | |
733 | 738 | | |
734 | | - | |
| 739 | + | |
735 | 740 | | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
736 | 751 | | |
737 | 752 | | |
738 | 753 | | |
| |||
0 commit comments