Repository navigation
fix: resolve issue order subquery column (Cannot get metadata of given alias) - #11343
Conversation
|
I would also include the test from the original issue to see if this actually fixes it. |
54a60da to
05ff7c4
Compare
PR Code Suggestions ✨No code suggestions found for the PR. |
commit: |
PR Code Suggestions ✨No code suggestions found for the PR. |
PR Code Suggestions ✨No code suggestions found for the PR. |
PR Code Suggestions ✨No code suggestions found for the PR. |
Code Review by Qodo (Alpha)(Review updated until commit 31297b0)
1. Unprotected metadata access in pagination logic
|
|
Persistent review updated to latest commit b98ac7d |
PR Code Suggestions ✨No code suggestions found for the PR. |
|
Persistent review updated to latest commit 868f377 |
PR Code Suggestions ✨No code suggestions found for the PR. |
|
Persistent review updated to latest commit 31297b0 |
…n alias) (typeorm#11343) Co-authored-by: gioboa <[email protected]> Co-authored-by: Lucian Mocanu <[email protected]>
Closes: #9420
Description of change
add condition to check if alias has metadata before access it to avoid the error 'Cannot get metadata for given alias'
Pull-Request Checklist
masterbranchnpm run formatto apply prettier formattingnpm run testpasses with this changeFixes #0000