'Get dynamic amount of params in Query GraphQL + NESTJS
I want to filter data in graphql but a dynamic amount of params. how can I do it?
@Query((returns) => [Car])
async getCarsByFilter() {
console.log( filters);
}
This is the code I wrote already but I don't know how to put a dynamic amount of params in NESTJS
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
