Skip to content
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

Rename db namespace method to avoid clashes #161

Open
wants to merge 3 commits into
base: 3.1
Choose a base branch
from

Conversation

ErickFabian
Copy link
Contributor

Refactors set_namespace method to avoid method clashes and introduces collection_view method into the base methods of a dolly document

@ErickFabian ErickFabian requested a review from javierg March 30, 2021 14:59
@@ -1,19 +1,19 @@
module Dolly
module Request
def set_namespace name
@namespace = name
def set_db_namespace(name)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a breaking change, why is the change being done?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

set_namespace makes me understand that the model will set the document namespace, the part of user/ not choose which database the model will connect to

Copy link
Member

@javierg javierg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we need to discuss why this change is needed as it is a braking change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants