#250 made Expression.elements an internal property, leaving client code with no public way to access the individual elements in an expression other than to reimplement an Expression type to redecode the JSON data into. There should be a way to access the elements that make up an expression. The ability to introspect an expression is important for being able to transform its members, as in mapbox/mapbox-navigation-ios#2933.
/cc @mapbox/maps-ios @mapbox/navigation-ios
#250 made
Expression.elementsan internal property, leaving client code with no public way to access the individual elements in an expression other than to reimplement an Expression type to redecode the JSON data into. There should be a way to access the elements that make up an expression. The ability to introspect an expression is important for being able to transform its members, as in mapbox/mapbox-navigation-ios#2933./cc @mapbox/maps-ios @mapbox/navigation-ios