feat: handle PgLiteral in index expressions#1561
Conversation
…ns and function calls
Shinigami92
left a comment
There was a problem hiding this comment.
These changes look fantastic and are almost ready to be merged! I've just found a few minor improvements we should make before release.
Also, could you implement a test for the throw-inside-map-loop?
Co-authored-by: Shinigami <chrissi92@hotmail.de>
filmaj
left a comment
There was a problem hiding this comment.
Thanks for taking this on! <3
Left a couple notes regarding the variety of different json operators available in Postgres.
|
@brenoepics just to manage expectations 😉 do you want to work further on the open change requests? or should someone take over? |
Yup! I’ll have some free time tomorrow, so I’m planning to finish the remaining fixes and also add a few extra test cases I noticed. |
|
node-pg-migrate/test/operations/indexes/createIndex.spec.ts Lines 272 to 282 in 110b8aa We already had this one, I just fixed the column name for better DX. I also added a bunch of new test cases, such as missing operators and SQLi unit tests.
Sometimes days have about 200+ hours around here 😆 |

fixes #1560