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
I was expecting switching from ES2020 to ESNext to have no impact
Actual Behavior
I am noticing that relations that are not loaded and fields that are not part of select (and are not queried - i checked the query). When the transformer applies the loaded data to an entity - it adds the extra fields unnecessarily. I am only switching the target version in my tsconfig.
Issue description
esnext compatibility
Expected Behavior
I was expecting switching from ES2020 to ESNext to have no impact
Actual Behavior
I am noticing that relations that are not loaded and fields that are not part of select (and are not queried - i checked the query). When the transformer applies the loaded data to an entity - it adds the extra fields unnecessarily. I am only switching the target version in my tsconfig.
Steps to reproduce
"typeorm": "^0.3.20",
"sqlite3": "^5.0.2",
"ts-node": "^10.8.0",
My Environment
Additional Context
No response
Relevant Database Driver(s)
Are you willing to resolve this issue by submitting a Pull Request?
No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.
The text was updated successfully, but these errors were encountered: