sequelize / sequelize/sequelize
Disable query field aliasing
Open
Nobody has claimed this yet.
breaking change
type: refactor
- Dominant language
- TypeScript
- Stars
- 30.4k
- Forks
- 4.3k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 68
Description
Instead of aliasing fields in the query and trying to figure out the name when coming from a subquery let's just disable aliasing completely and map it after the query has executed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by tracing how query fields are aliased and how subquery results are mapped after execution; this is done when field aliasing is disabled and result names remain correct for subqueries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql, typescript
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100