Repository navigation
feat(perf): use ->> for single paths and strings - #14099
Closed
JerrySievert wants to merge 1 commit into
Closed
JerrySievert wants to merge 1 commit into
JerrySievert wants to merge 1 commit into
Conversation
Breaking change to switch to `->>` instead of `#>>` in the case of a single element array or string
Member
|
Thanks for the PR! It seems that two tests are still failing, can you take a look into that? |
Author
|
thanks for the reminder! I had paused after the end of work yesterday, and was planning on fixing the last of the tests this weekend. |
JerrySievert
marked this pull request as draft
February 12, 2022 21:29
Author
|
I converted to a draft until this is complete. |
Member
|
I've looked at this again, and after resolving the conflicts and updating tests there is only one test that requires more research/fixing; sequelize/test/integration/json.test.js Lines 191 to 201 in fcbdb51 |
1 task done
4 of 5 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking change to switch to
->>instead of#>>in the case of asingle element array or string
Pull Request Checklist
Please make sure to review and check all of these items:
yarn testoryarn test-DIALECTpass with this change (including linting)?Description Of Change
Breaking change, closes #14066. When a single element or a string are passed, use the single element JSONB operator
->>instead of the pathing version#>>.This is a change only for postgres.
Todos