allow a getter to receive query params as the last argument