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

Make GeoRadiusResult constructor public to make it mockable #1175

Merged
merged 1 commit into from
Sep 27, 2019

Conversation

firenero
Copy link
Contributor

@firenero firenero commented Jul 6, 2019

It's impossible to mock GeoRadius and GeoRadiusAsync methods now because GeoRadiusResult constructor is internal. Given that constructors for all other GEO calls are public I think it's possible to make GeoRadiusResult constructor public as well.

@firenero
Copy link
Contributor Author

@NickCraver Can I help somehow to get it merged? Lack of public constructor here makes unit testing really hard for a while already.

Copy link
Collaborator

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

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

👍 - we'll get this into the next build

@NickCraver
Copy link
Collaborator

I'm unsure on timeline for the next release, but it'll be on MyGet shortly.

@NickCraver NickCraver merged commit 7f56a80 into StackExchange:master Sep 27, 2019
@firenero firenero deleted the public_geo_radius_ctor branch November 15, 2019 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants