nestjs-query
nestjs-query copied to clipboard
`allowFiltering` in UnPagedRelation has no effect
Describe the bug
When putting allowFiltering
to false in UnPagedRelation
there is still a filter generated and filtering is still possible.
Have you read the Contributing Guidelines?
Yes
To Reproduce Steps to reproduce the behavior:
- Add
@UnPagedRelation('categories', () => DTO, {
allowFiltering: false,
})
- See outputted schema.
Expected behavior
When putting allowFiltering
to false it should not create a filter and filtering the relation should not be possible.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
"@nestjs-query/core": "^0.30.0",
"@nestjs-query/query-graphql": "^0.30.0",
"@nestjs-query/query-typeorm": "^0.30.0",