Skip to content

Conversation

@bdebinska
Copy link
Member

No description provided.

bdebinska and others added 2 commits June 23, 2025 13:46
@bdebinska bdebinska requested a review from iStefo June 23, 2025 11:51
@bdebinska bdebinska self-assigned this Jun 23, 2025
@bdebinska bdebinska added the enhancement New feature or request label Jun 23, 2025
Comment on lines 91 to 92
[lat, _lng, _radius] when is_number(lat) or is_binary(lat) -> "coordinates"
[lat, _lng] when is_number(lat) or is_binary(lat) -> "coordinates"
Copy link

Choose a reason for hiding this comment

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

I think we should extend the check to all entries of the list (even though it won't make for the prettiest code), what do you think?

Copy link
Member Author

Choose a reason for hiding this comment

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

Seems like a bit of an overkill for now, but might be useful int he future I guess. I'll extend it

@bdebinska bdebinska requested a review from iStefo June 23, 2025 12:50
@bdebinska bdebinska merged commit dd479f8 into main Jun 23, 2025
1 check passed
@bdebinska bdebinska deleted the stricter-type-checking-for-coordinates branch June 23, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants