Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[core] Functions must have at least one stop - #7248

Merged
jfirebaugh merged 1 commit into
masterfrom
function-stops
Dec 1, 2016
Merged

jfirebaugh merged 1 commit into
masterfrom
function-stops

Conversation

@jfirebaugh

Copy link
Copy Markdown
Contributor

This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too.

@1ec5 @frederoni Do we need to add an equivalent validation in the SDK bindings for Function?

This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too.
@mention-bot

Copy link
Copy Markdown

@jfirebaugh, thanks for your PR! By analyzing this pull request, we identified @yhahn to be potential reviewers.

@frederoni

Copy link
Copy Markdown
Contributor

Yes, the assertion in core would be quite hard to guess from the SDK side so I think we should fail fast and loud here. I'll make a ticket.

@jfirebaugh
jfirebaugh merged commit 7d16824 into master Dec 1, 2016
@jfirebaugh
jfirebaugh deleted the function-stops branch December 1, 2016 17:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants