Repository navigation
Rework spec function/expression taxonomy (recreate #6505) - #6521
Merged
Merged
Conversation
lbud
force-pushed
the
expression-spec
branch
2 times, most recently
from
April 17, 2018 20:36
7504d50 to
f5aa39f
Compare
Contributor
Author
|
@samanpwbb @anandthakker @jfirebaugh @1ec5 requesting review from anyone based on the new additions to this since #6505 (noted at the top of OP) — format + language of the |
Contributor
|
I don't think we should add these to the documentation. We already have fairly complex terminology surrounding properties ("layout", "paint", "function", "expression", "interpolatable", "data expression", "camera expression", ...), and I don't think additional terminology is going to clarify the situation. Let's keep these types as an implementation detail. |
added 9 commits
May 4, 2018 14:41
lbud
pushed a commit
to mapbox/mapbox-gl-native
that referenced
this pull request
May 4, 2018
Ports mapbox/mapbox-gl-js#6521: for the sake of gl-native this only requires tweak to code generation scripts.
Contributor
Author
jfirebaugh
approved these changes
May 7, 2018
lbud
pushed a commit
to mapbox/mapbox-gl-native
that referenced
this pull request
May 14, 2018
Ports mapbox/mapbox-gl-js#6521, updating codegen scripts to parse new expression taxonomy.
7 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recreates #6505 — I reverted until I have a gl-native PR ready, as it'll otherwise cause a lot of code generation errors for the next person who tries to update the gl-js pin there.
New since #6505 I've also added a list of property-types and descriptor docs in a75b518[reverted]This PR reworks the taxonomy to describe how a property can use functions/expressions, as described in #6389 (comment) and #6389 (comment):
so now any property all properties include a
property-typekey, and for all property-types exceptconstantalso anexpressionproperty, i.e.Benchmarks: http://bl.ocks.org/lbud/raw/2ac3b8869074c112802166978cea8345/ (I couldn't reproduce the Layer discrepancies on subsequent isolated bench runs).
Closes #6389
Supersedes / closes #4194
Refs #6430
Refs #6303
Launch Checklist