Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't convert null to the string "null" #39

Merged
merged 2 commits into from
May 19, 2021
Merged

Conversation

porsager
Copy link
Contributor

@porsager porsager commented Apr 29, 2020

I hope this is an acceptable change, although I don't know the complete requirements of this package, but this fix will solve mapbox/mapbox-gl-js#8497.

I can't think of a reason it would make sense to have null as a string "null" because of the ambiguity it brings. Rather make it an empty string if there is a requirement for it to be a string.

I hope this is an acceptable change, although I don't know the complete requirements of this package, but this fix will solve mapbox/mapbox-gl-js#8497.

I also have a hard time thinking of a reason it would make sense to have null as a string `"null"` because of the ambiguity it brings.
@cafca
Copy link

cafca commented Jan 26, 2021

Is this project still maintained by mapbox? Who can merge this PR? @anandthakker

@mourner mourner self-assigned this Jan 26, 2021
@mourner
Copy link
Member

mourner commented Jan 26, 2021

@cafca yep! Sorry for the late response — I'll do some much-needed maintenance on vt-pbf this week, including this PR.

@bailycase99
Copy link

Any update on this PR? It's still an issue :)

@e-n-f
Copy link

e-n-f commented Jun 3, 2021

This change causes vector tiles to be created that violate the current vector tile spec and cannot be uploaded to Mapbox. #42

@mourner
Copy link
Member

mourner commented Jun 4, 2021

@ericfischer thanks for uncovering this! Please check out #43 as a potential fix.

robinsummerhill added a commit to emuanalytics/vt-pbf that referenced this pull request Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants