Skip to content

Commit 6d13aea

Browse files
authored
Fix select exclude queries (#7242)
* fix keys and excludeKeys to work with JSON array strings * make excludeKeys test more robust * add changelog * add select([]) functionality to fix) * update changelog * update keys * add exclude test * add select REST test and exclude JS SDK test * add more tests * add additional exclude test * improved select test for testing JSON string array in REST * improved exclude test for testing JSON string array in REST * check for parse keys * make include look like keys and excludeKeys * nit * Exclude nexted child fields * add updates and show failing testcases * working * add more tests * even more test cases * use await for added tests * lint * Add suggestions
1 parent 5abbeeb commit 6d13aea

File tree

4 files changed

+581
-97
lines changed

4 files changed

+581
-97
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ ___
131131
- Add building Docker image as CI check (Manuel Trezza) [#7332](https://github.com/parse-community/parse-server/pull/7332)
132132
- Add NPM package-lock version check to CI (Manuel Trezza) [#7333](https://github.com/parse-community/parse-server/pull/7333)
133133
- Fix incorrect LiveQuery events triggered for multiple subscriptions on the same class with different events [#7341](https://github.com/parse-community/parse-server/pull/7341)
134+
- Fix select and excludeKey queries to properly accept JSON string arrays. Also allow nested fields in exclude (Corey Baker) [#7242](https://github.com/parse-community/parse-server/pull/7242)
135+
134136
___
135137
## 4.5.0
136138
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.4.0...4.5.0)

0 commit comments

Comments
 (0)