-
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
[READY FOR REVIEW] MONGOID-5336: User-defined symbol field types #5269
base: master
Are you sure you want to change the base?
Conversation
@p-mongo I believe I have resolved all your requested changes. Please review again, thanks. |
Have done all requested second round changes. Appreciate if you can resolve the comments once you check them. |
ace9d2f
to
f28fd74
Compare
I like the block configuration syntax but it should be on top-level Mongoid module, e.g. The actual changes pertaining to alias definition I think are mostly OK. I'm not seeing the purpose of maintaining two mappings - the "default" Mongoid one and the active one. Can you explain this part please? |
Sure, will be glad to do this change.
Does this answer your question? |
@p-mongo config change done, ready for a final review. Note the config will look like this: Mongoid.configure do |config|
config.define_field_type :point, Point
end To keep consistency, I'm also adding I've raised https://jira.mongodb.org/browse/MONGOID-5422 (PR #5367) to support doing |
Tests are green 👍 |
19f1b40
to
a8c2217
Compare
Please kindly remove the "Oleg Responded" / "Oleg Todo" flags on this and all other PRs. |
No description provided.