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

Allow numeric String values in newFromArray #200

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

Silvan-WMDE
Copy link
Contributor

This fixes https://phabricator.wikimedia.org/T277691.
When sending API requests with String lat/long values, a cast to float is needed in order to avoid a TypeError.

Bug: T277691

@JeroenDeDauw JeroenDeDauw merged commit 5cef81b into DataValues:master Apr 20, 2021
@Silvan-WMDE Silvan-WMDE deleted the T277691-string-vs-float branch April 20, 2021 22:18
This was referenced Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants