{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/4754","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/4754/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/4754/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/4754/events","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/4754","id":231460182,"number":4754,"title":"Add draft proposal for property expressions spec","user":{"login":"anandthakker","id":4974151,"avatar_url":"https://avatars0.githubusercontent.com/u/4974151?v=3","gravatar_id":"","url":"https://api.github.com/users/anandthakker","html_url":"https://github.com/anandthakker","followers_url":"https://api.github.com/users/anandthakker/followers","following_url":"https://api.github.com/users/anandthakker/following{/other_user}","gists_url":"https://api.github.com/users/anandthakker/gists{/gist_id}","starred_url":"https://api.github.com/users/anandthakker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anandthakker/subscriptions","organizations_url":"https://api.github.com/users/anandthakker/orgs","repos_url":"https://api.github.com/users/anandthakker/repos","events_url":"https://api.github.com/users/anandthakker/events{/privacy}","received_events_url":"https://api.github.com/users/anandthakker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2017-05-25T21:08:18Z","updated_at":"2017-06-02T13:29:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/4754","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/4754","diff_url":"https://github.com/mapbox/mapbox-gl-js/pull/4754.diff","patch_url":"https://github.com/mapbox/mapbox-gl-js/pull/4754.patch"},"body":"Proposed plan for introducing arbitrary data-driven expressions into style functions:\r\n - deprecate zoom, property, and zoom+property functions\r\n - <del>keep stop-based zoom functions</del>\r\n - <del>allow data-driven expressions (a) as style property values, and (b) as output values for zoom function stops.  (I.e., (a) replaces \"property functions\", and (b) replaces zoom+property functions.)</del>\r\n - replace all stop-based functions with expression-based functions:\r\n   - property functions become `{ 'expression': ... }`\r\n   - zoom functions become `{ 'expression': ['curve', 'interp', ['zoom'], ... ] }`\r\n   - zoom+property functions become `{ 'expression': ['curve', 'interp', ['zoom'], 0, some, 10, another_expression, ... ] }`\r\n\r\nSee `docs/style-spec/expressions.md` for the spec details.\r\n\r\n@mapbox/gl @mapbox/studio @mapbox/cartography-cats @mapbox/support "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/305787136","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/4754#issuecomment-305787136","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/4754","id":305787136,"user":{"login":"nickidlugash","id":5607844,"avatar_url":"https://avatars1.githubusercontent.com/u/5607844?v=3","gravatar_id":"","url":"https://api.github.com/users/nickidlugash","html_url":"https://github.com/nickidlugash","followers_url":"https://api.github.com/users/nickidlugash/followers","following_url":"https://api.github.com/users/nickidlugash/following{/other_user}","gists_url":"https://api.github.com/users/nickidlugash/gists{/gist_id}","starred_url":"https://api.github.com/users/nickidlugash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickidlugash/subscriptions","organizations_url":"https://api.github.com/users/nickidlugash/orgs","repos_url":"https://api.github.com/users/nickidlugash/repos","events_url":"https://api.github.com/users/nickidlugash/events{/privacy}","received_events_url":"https://api.github.com/users/nickidlugash/received_events","type":"User","site_admin":false},"created_at":"2017-06-02T13:29:33Z","updated_at":"2017-06-02T13:29:33Z","body":"@anandthakker that sounds good. I wanted to confirm whether this was even logically and technically compatible with the arbitrary expressions schema. It would be great if we could look into adding this as a follow-up."}}
{"actor":{"display_login":"nickidlugash"}}