Sarvesh Dwivedi

Results comments of Sarvesh Dwivedi

hey @dantownsend , I tried the above solution but it doesn't work cause the data is extracted before the validators run.

@dantownsend Yes, It does, query params can be changed through middleware but not the body. For now, I have passed the `modify_body` arg for a quick patch it is working...

@dantownsend I didn't get it, Do you mean by Hooks which are there in piccolo-api? or something else. Though I believe we could write a function for it. and we...

@dantownsend, It should work ideally, as we can receive the request Object in hooks.

We could pass logger object and could do something like this: ```py def print_response(self, query_id: int, response: t.List): if self.logger: self.logger.debug(f"\nQuery {query_id} response: {pprint.pformat(response)}") else: print( colored_string(f"\nQuery {query_id} response:", level=Level.high)...

@FlorianWilhelm, sorry for the late reply—I've been caught up. The project is very robust and promising, but some things have changed since I last checked. I had written a script,...

> no, just it automatically running the command selected. if you are running zsh you can use the function i posted and from the terminal access by something like alias...

@sinisaos, yeah there are callbacks and hooks for api. I have used them. Now I want to create a meta table by default which keeps track of number of rows...

Thanks @sinisaos , I could do it that way. Or something like in #373. I'll try it soon.

@sinisaos , It works I have tried to make some changes to retain the history and a custom base table for this. ```py import typing as t import uuid from...