Closed evil159 closed 2 weeks ago
Multi-word enum cases were not encoded/decoded properly - instead of the correct form e.g. some-value it would be some_value which would cause a PlatformException.
some-value
some_value
https://github.com/mapbox/mapbox-maps-flutter/issues/500, https://github.com/mapbox/mapbox-maps-flutter/issues/455, https://github.com/mapbox/mapbox-maps-flutter/issues/161, https://mapbox.atlassian.net/browse/MAPSFLT-206
LGTM but why not use enhanced enums? It would be a cleaner solution.
Our code generation tool - Pigeon, doesn't support them.
What does this pull request do?
Multi-word enum cases were not encoded/decoded properly - instead of the correct form e.g.
some-value
it would besome_value
which would cause a PlatformException.What is the motivation and context behind this change?
https://github.com/mapbox/mapbox-maps-flutter/issues/500, https://github.com/mapbox/mapbox-maps-flutter/issues/455, https://github.com/mapbox/mapbox-maps-flutter/issues/161, https://mapbox.atlassian.net/browse/MAPSFLT-206
Pull request checklist: