This pull request proposes a fix for the duplicate column names encountered when using getMany with joins and pagination in NestJS CRUD #788.
The current solution in #788 excludes the "id" column, which might not be ideal for all relational scenarios. This pull request aims to address duplication directly within the column array, preserving the "id" column when necessary or any duplicated column.
Key points:
[X] Solves duplicate column issue identified in #788.
[X] Maintains "id" column inclusion for relational cases.
[X] Implements logic to remove duplication within the column array.
Please review and provide feedback on the proposed approach.
This pull request proposes a fix for the duplicate column names encountered when using getMany with joins and pagination in NestJS CRUD #788.
The current solution in #788 excludes the "id" column, which might not be ideal for all relational scenarios. This pull request aims to address duplication directly within the column array, preserving the "id" column when necessary or any duplicated column.
Key points:
Please review and provide feedback on the proposed approach.