You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now - If I write a bad value for a filter - the errors returned look like this:
Displaying the array index layer[125] is less helpful if I'm writing a style in a text editor or my style is compiled from a bunch of layer scripts into one stylesheet.
It would be very helpful if the name of the layer (in this case a layer I've named transit-station-label was displayed. Then I would have string to search / I could quickly identify the mistake I've made in authoring.
The text was updated successfully, but these errors were encountered:
The validation logic is pretty generic, and requires special casing the error message generation to use an id field when available. Ideally, the use of the layer.id can be applied to all layer fields, and not just the filter
Right now - If I write a bad value for a filter - the errors returned look like this:
Displaying the array index
layer[125]
is less helpful if I'm writing a style in a text editor or my style is compiled from a bunch of layer scripts into one stylesheet.It would be very helpful if the name of the layer (in this case a layer I've named
transit-station-label
was displayed. Then I would have string to search / I could quickly identify the mistake I've made in authoring.The text was updated successfully, but these errors were encountered: