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

SDK Fix all filters required #20200

Merged
merged 5 commits into from
Oct 26, 2023
Merged

SDK Fix all filters required #20200

merged 5 commits into from
Oct 26, 2023

Conversation

br41nslug
Copy link
Member

@br41nslug br41nslug commented Oct 26, 2023

Fixes #20147

Scope

What's changed:

In #19792 functions were introduced in filters which made use of the Merge<> utility type to merge objects however this generic merges the objects and makes each property required.

This fix introduces the MergeOptional<> utility type and implements this in the filter types.

Potential Risks / Drawbacks

  • Potential other regressions in types that i missed in my testing

Review Notes / Questions

  • I would like to lorem ipsum

@changeset-bot

This comment was marked as resolved.

Copy link
Member

@paescuj paescuj left a comment

Choose a reason for hiding this comment

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

Nice "typework" 😃 Works fine! 🚀

@paescuj paescuj merged commit b4a74fc into main Oct 26, 2023
6 checks passed
@paescuj paescuj deleted the fix-20147 branch October 26, 2023 14:08
@github-actions github-actions bot added this to the Next Patch Release milestone Oct 26, 2023
br-rafaelbarros pushed a commit to personal-forks/directus-source that referenced this pull request Nov 7, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter for queries via REST API is requiring all fields
2 participants