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

Properly update sub model with type and modifier #384

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

ahmedre
Copy link
Contributor

@ahmedre ahmedre commented Dec 3, 2024

The type and modifier fields are part of the official MapBox spec for allowed sub fields. In practice, they are mostly unused in favor of using them inside of components instead, but they are allowed and we are already parsing them, so this patch properly propagates them.

The type and modifier fields are part of the official MapBox spec for
allowed sub fields. In practice, they are mostly unused in favor of
using them inside of components instead, but they are allowed and we are
already parsing them, so this patch properly propagates them.
@ahmedre
Copy link
Contributor Author

ahmedre commented Dec 3, 2024

snippet from the documentation:
CleanShot 2024-12-03 at 14 27 40@2x

source.

Copy link
Contributor

@ianthetechie ianthetechie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@ianthetechie ianthetechie merged commit 0310469 into stadiamaps:main Dec 3, 2024
14 checks passed
@ahmedre ahmedre deleted the fix_sub_parsing branch December 3, 2024 12:37
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.

3 participants