Skip to content

fix(widgets): Include spatialDataColumn in widget requests unconditionally #183

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

donmccurdy
Copy link
Member

@donmccurdy donmccurdy commented May 16, 2025

Since early on (see #34) the API client has included the spatialDataColumn and spatialDataType parameters in Model API requests if and only if a spatial filter is active. However, I'm seeing table widget requests that include geometry (geom, h3, quadbin) in their list of requested columns receive different results depending on whether these parameters are present, even without a spatial filter. This causes E2E tests to fail.

The C4R-based code currently in Builder includes both parameters, even without a spatial filter, so for the sake of backward compatibility I think it's safest to include spatialDataColumn and spatialDataType unconditionally.

PR Dependency Tree

This tree was auto-generated by Charcoal

@donmccurdy donmccurdy requested a review from a team May 16, 2025 19:19
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.

1 participant