[openstreetmap/openstreetmap-website] Use MapLibre class extensions to DRY code (PR #6726)
Tom Hughes
notifications at github.com
Mon Jan 19 20:46:36 UTC 2026
tomhughes left a comment (openstreetmap/openstreetmap-website#6726)
> There is a cost to doing it this way, but if you are willing to pay that "weirdness" tax, then that is fine.
There's a cost to not doing it as well, which is having to repeat the same thing multiple times... Implementing local wrappers/extensions for an API to encapsulate how that API is used by a particular project is a pretty normal thing to do.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6726#issuecomment-3770072689
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6726/c3770072689 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260119/945e8d33/attachment.htm>
More information about the rails-dev
mailing list