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
Globe default value #13
Conversation
This will not fully fix bug 66632 |
@JeroenDeDauw Can you explain? My impression was that it indeed solves the problem. It should replace |
Values that could no longer be dezerlaized used to be turned into an |
I think so. Earth is the default. I think there is no question about this. If |
To be clear: I have no objections against this commit and did not really review it. @filbertkm probably has an opinion on the actual change |
Needs rebase |
+1 looks fine. doesn't travis run here?... |
Before: new GlobeCoordinateValue( $latLang, $precision ) was possible but new GlobeCoordinateValue( $latLang, $precision, null ) failed. Doesn't make much sense if you think about, especially in terms of deserialization. After: Both calls use the default value. Bug: 66632
Ok, I will then merge, and make sure the next rel is 0.3 (or 1.0) |
@thiemowmde can you up the rel notes? |
Done. Fully agree to what @filbertkm said. |
The
$globe
parameter of the constructor always had a default value, right? What I'm doing here is just reimplementing the exact same semantics in a slightly different way, right?Before:
new GlobeCoordinateValue( $latLang, $precision )
was possible butnew GlobeCoordinateValue( $latLang, $precision, null )
failed. Doesn't make much sense if you think about, especially in terms of deserialization.After: Both calls use the default value.
Bug: 66632