Skip to content

Expression should have public accessor for individual elements #299

@1ec5

Description

@1ec5

#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

Metadata

Metadata

Labels

bug 🪲Something is broken!p0

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions