-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MONGOID-5210 [BLOCKED] Custom field type cleanup (fix deprecation warnings) #5121
Closed
johnnyshields
wants to merge
20
commits into
mongodb:master
from
johnnyshields:custom-field-type-cleanup
Closed
MONGOID-5210 [BLOCKED] Custom field type cleanup (fix deprecation warnings) #5121
johnnyshields
wants to merge
20
commits into
mongodb:master
from
johnnyshields:custom-field-type-cleanup
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…Symbol is actually supported today.) - Add ability to define custom field types.
…things for clarity in various places. This also adds documentation for previously undocumented "Custom Field Options" functionality (Mongoid::Fields.option)
…umention' into custom-field-type-support
… it makes sense to do so.
johnnyshields
changed the title
MONGOID-5210 Custom field type cleanup (fix deprecation warnings)
MONGOID-5210 [BLOCKED] Custom field type cleanup (fix deprecation warnings)
Jan 16, 2022
…Symbol is already supported today.) - Deprecate using field type as a Class. - Add ability to define custom field types using a mini DSL (Mongoid::Fields.configure) - Fix Mongoid::Fields.option documentation
…shields/mongoid into custom-field-type-support
…-support' into custom-field-type-cleanup
Per https://jira.mongodb.org/browse/MONGOID-5210?focusedCommentId=4536184&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-4536184, we do not want to demand that applications using Mongoid perform the change made by this PR (search & replace of all field types). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is a follow-up from #5119 which includes its changes and also fixes all deprecation warnings. In broad strokes this means converting this:
to this: