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

fix!: ensure select category value label is string and type key as unknown (#298) #299

Merged
merged 8 commits into from
Dec 18, 2024

Conversation

hunterckx
Copy link
Contributor

@hunterckx hunterckx commented Dec 17, 2024

I've marked this as a breaking change because theoretically an app might reference filter items in a way that causes type errors; data-browser, for instance, almost does this, but the values are passed to sanitizeString, which I've updated the type of to make it still work there

src/common/entities.ts Show resolved Hide resolved
src/components/Filter/common/utils.ts Show resolved Hide resolved
src/hooks/useCategoryFilter.ts Show resolved Hide resolved
src/viewModelBuilders/common/utils.ts Show resolved Hide resolved
src/views/ExploreView/exploreView.tsx Show resolved Hide resolved
@hunterckx hunterckx marked this pull request as ready for review December 17, 2024 09:01
@hunterckx hunterckx changed the title fix: ensure select category value label is string and type key as unknown (#298) fix!: ensure select category value label is string and type key as unknown (#298) Dec 17, 2024
Copy link
Contributor

@frano-m frano-m left a comment

Choose a reason for hiding this comment

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

Nice @hunterckx. Approved.

I have one question for you (just a sanity check).
I will write up a ticket for updating AzulTerm interface term. We currently also get null values. We should probably address this for correctness - in the filterTransformer and also in the File Manifest facets.

@NoopDog NoopDog merged commit c7b5baa into main Dec 18, 2024
2 checks passed
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