[READY FOR REVIEW] MONGOID-5336: User-defined symbol field types#5269
[READY FOR REVIEW] MONGOID-5336: User-defined symbol field types#5269johnnyshields wants to merge 3 commits intomongodb:masterfrom
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
endTo 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.