its a miracle it was working so far.
- we need to annotate all validtors with the proper type.
- a general problem is that the value of a query param is often just a string instead of what we expect it to be
- this is likely the reason why pagination wasnt working until now
its a miracle it was working so far.