New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relation is duplicating ID unnecessarily #27
Comments
This looks like it's a TypeORM bug related to MSSQL. Test code (removes odata from the equation, just straight up TypeORM methods)
MSSQL:
SQLite:
SQLite seems to return the data correctly via TypeORM, so there's something funky going on with the MSSQL |
Upstream issue: typeorm/typeorm#7775 This project produces the |
Sorry, don't really know how else to word that. This can be seen as one of the base example routes:
/api/posts - $filter by $expand
This returns
author.id is being duplicated and grouped.
I suspect that this is because it's returning the column twice
SQL that is produced:
Using MSSQL
The text was updated successfully, but these errors were encountered: