Skip to content

Fix datasets by collection query#62

Merged
davehorsfall merged 2 commits intodevfrom
fix/collection-datasets
Aug 6, 2025
Merged

Fix datasets by collection query#62
davehorsfall merged 2 commits intodevfrom
fix/collection-datasets

Conversation

@dannda
Copy link
Copy Markdown
Contributor

@dannda dannda commented Aug 6, 2025

Description

Adds a collection's ids to query filters as last step before performing the query
Avoids issue where an ids array like [0,1,2] is spread into an object {0:0,1:1,2:2} in the query filters when spreading the query, which then throws a validation error

Type of change

  • Documentation (non-breaking change that adds or improves the documentation)
  • New feature (non-breaking change which adds functionality)
  • Optimization (non-breaking, back-end change that speeds up the code)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (whatever its nature)

Checklist

  • All tests pass (eg. npm test)
  • Pre-commit hooks run successfully (eg. pre-commit run --all-files)

@dannda dannda requested a review from davehorsfall August 6, 2025 15:16
@davehorsfall davehorsfall merged commit 405ec2a into dev Aug 6, 2025
@davehorsfall davehorsfall deleted the fix/collection-datasets branch August 6, 2025 15:21
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.

2 participants