-
Notifications
You must be signed in to change notification settings - Fork 851
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
query
option in gen2 sdks to correctly flatten the query objec…
…t for mongodb (#3250) ## Description This PR updates the query option to use `flattenMongoQuery` which is basically flatten but when we get an `$key` we just return the object as is as, so that it properly gets parsed in our API (mongo query). **Jira** https://builder-io.atlassian.net/browse/ENG-5268 **Loom** https://www.loom.com/share/10493e4fd2a24b40937590f7f690bff2 Fixes #3007
- Loading branch information
1 parent
ab6e5dc
commit 70fccea
Showing
5 changed files
with
90 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
'@builder.io/sdk-react-nextjs': patch | ||
'@builder.io/sdk-qwik': patch | ||
'@builder.io/sdk-react': patch | ||
'@builder.io/sdk-react-native': patch | ||
'@builder.io/sdk-solid': patch | ||
'@builder.io/sdk-svelte': patch | ||
'@builder.io/sdk-vue': patch | ||
--- | ||
|
||
Fix: `query` option correctly flattens mongodb queries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters