You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support minifyAliases option in findAll/findOne/findAndCountAll #15361
Describe the feature you'd like to see implemented
Being able to enable minifyAliases on a single query instead of having to enable it globally.
Describe why you would like this feature to be added to Sequelize
The global minifyAliases option changes all queries. Enabling it at any point after the very beginning of the project risks breaking existing queries (especially if they use literal()). minifyAliases also make using literal() more difficult, to borderline impossible.
By supporting this option locally instead of globally (global can remain too ofc), only queries that really need the alias minification (because their identifiers are longer than the maximum length) are impacted.
Is this feature dialect-specific?
No. This feature is relevant to Sequelize as a whole.
Yes. This feature only applies to the following dialect(s):
Would you be willing to resolve this issue by submitting a Pull Request?
No, I don't have the time, and I understand that I will need to wait until someone from the community or maintainers is interested in implementing my feature.
Indicate your interest in the addition of this feature by adding the 👍 reaction. Comments such as "+1" will be removed.
Oh this is a good idea @ephys getting these done one by one is much easier and it will break down the work for #15318 ! You're ok if I get on with these first?
Activity
frostzt commentedon Nov 30, 2022
Oh this is a good idea @ephys getting these done one by one is much easier and it will break down the work for #15318 ! You're ok if I get on with these first?
ephys commentedon Nov 30, 2022
Absolutely :)
I opened them because I knew you were working on it but I had no issues to point to. Feel free to work on them however you want
frostzt commentedon Mar 3, 2023
@ephys #15394 was only for
postgres, I thought this issue was for each of the dialects we support?WikiRik commentedon Mar 3, 2023
It is, but GitHub closed it automatically because of the link in the PR description