traveltime-dev / traveltime-sdk-java

TravelTime SDK for JAVA programming language
https://docs.traveltime.com/
MIT License
6 stars 1 forks source link

Some enums should have an escape hatch. #82

Closed mjanuszkiewicz-tt closed 1 year ago

mjanuszkiewicz-tt commented 1 year ago

In places where we use enums that represent a capability of an api at a specific moment in time (e.g. countries and modes available for proto with distance) we should offer an "escape hatch" that would allow users that know what they're doing to use a different value (e.g. a different mode available in a special environment, a new country to be tested without upgrading the sdk)