Repository navigation
[core] [android] - configurable API endpoint - #6309
Conversation
There was a problem hiding this comment.
Set the default value to mbgl::util::API_BASE_URL instead of checking for the empty string.
|
Thanks @jfirebaugh for 👀 , the remarks have been fixed in ad5f363. |
There was a problem hiding this comment.
@tobrun This is very hard to read, could you split it up?
There was a problem hiding this comment.
This is generated code from intelij or actually it's copied code from intelij. The correct way should be to regenerate the hashcode/equals method.. Will pick this up with other remarks but I'm not taking readability into account with generated code.
There was a problem hiding this comment.
@tobrun Sorry, I missed this was generated code. Scratch my comment.
|
This PR is missing unit tests for a new core API. ;-) |
011ef9e to
4db1f6d
Compare
|
@tmpsantos I fixed up the comments and added a tests in 4db1f6d. |
4db1f6d to
a65b937
Compare
|
Tracking the necessary iOS/macOS SDK changes in #6346. |
a65b937 to
ee14d3b
Compare
|
Need to fix the tests for glfw, the tests are missing runloop |
|
@tmpsantos thanks for the hint on RunLoop. |
tmpsantos
left a comment
There was a problem hiding this comment.
Thanks for this and thanks for also adding new tests!
There was a problem hiding this comment.
Would be great if you could split the PR in two or three commits:
- One adding the API to core
- One adding the API to android
- One adding the tests
This makes reviewing a lot easier, since reviewing is usually done "per commit". You can do this next time, but for now I'm fine squashing everything into a single commit. The last two are fixing something on the first one, so they don't really add value to the PR.
5825a6c to
02d8e0e
Compare
add runloop to test
02d8e0e to
57665c7
Compare
This PR enables configuration of a custom URL base endpoint.
Review c++: @jfirebaugh @tmpsantos
Review java: @zugaldia
Side notes vs GL-JS implementation: