wesleyyoung / perch-query-builder

Dynamically build TypeORM queries based on GraphQL queries for NestJS and TypeORM
GNU General Public License v3.0
45 stars 9 forks source link

Allow custom root field for the automatic query builder #14

Open Migushthe2nd opened 2 years ago

Migushthe2nd commented 2 years ago

Closes #10: a rootField argument.

It works perfectly fine, however, if you think the implementation is not a good fit for the library, I'd appreciate an alternative way to overcome the issue.

Edit: implementing other types of pagination in this library is a better way to go. Edit 2: I don't think this is an ideal solution.