-
-
Notifications
You must be signed in to change notification settings - Fork 261
Allow custom server URLs to be set and used via ParseClient.Configuration. #147
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
Conversation
@@ -122,7 +129,7 @@ public struct Configuration { | |||
/// </param> | |||
public static void Initialize(Configuration configuration) { | |||
lock (mutex) { | |||
HostName = HostName ?? new Uri("https://api.parse.com/1/"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we still HostName
? (even in tests). If we don't, we need to clean that up (doesn't need to be in this PR) since it's source of confusion (i.e. which one should I use, HostName
or CurrentConfiguration.Server
?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right. I can update all of our internal tests to use Configuration.Server.
476987f
to
79e4376
Compare
lgtmcorgi Don't forget to update IntegrationTests EDIT: plz update UnitTests |
79e4376
to
329ceca
Compare
UnitTests now pass. |
LGTM |
…iguration Allow custom server URLs to be set and used via ParseClient.Configuration.
No description provided.