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

fix: Modify the way of parse and validate mongo url #40

Merged
merged 2 commits into from
Mar 20, 2021

Conversation

SoaringTiger
Copy link
Contributor

Fix: #39
There is an mongodb official package "go.mongodb.org/mongo-driver/x/mongo/driver/connstring" will solve it.
And databaseName just use connString.Database value.

@coveralls
Copy link

coveralls commented Mar 18, 2021

Coverage Status

Coverage increased (+0.09%) to 88.235% when pulling f52750f on SoaringTiger:fix-check-url-bug into 24870cd on casbin:master.

@SoaringTiger SoaringTiger changed the title fix: the way of parse and validate mongo url fix: Modify the way of parse and validate mongo url Mar 18, 2021
@hsluoyz
Copy link
Member

hsluoyz commented Mar 19, 2021

@closetool plz review.

@hsluoyz hsluoyz merged commit 6e29879 into casbin:master Mar 20, 2021
@hsluoyz
Copy link
Member

hsluoyz commented Mar 20, 2021

@closetool plz make a new release.

@kilosonc
Copy link
Collaborator

@hsluoyz sorry, but I have no permission

@hsluoyz
Copy link
Member

hsluoyz commented Mar 20, 2021

@closetool try again.

@hsluoyz
Copy link
Member

hsluoyz commented Mar 21, 2021

@SoaringTiger SoaringTiger deleted the fix-check-url-bug branch March 21, 2021 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants