Mike Rudge

Results 13 comments of Mike Rudge

Sorry, maybe should of been clearer. The main thing is that you can now order by relational fields. https://www.prisma.io/docs/concepts/components/prisma-client/filtering-and-sorting#sort-by-relation Wouldn't the part that generates the queries need to be updated...

Sounds good! I think if you are thinking of going that route it might be worth aligning it to the [amplify model directive](https://docs.amplify.aws/cli/graphql-transformer/model/#definition). something like ``` model Post @crud(queries: {...

Hey @shinework I have been trying to use the `onRequest` callback, and manipulating the query. ```ts async onRequest(req, res, options?) { const query = req.query // Do some stuff to...

To clarify, I was looking for a way to automatically add a filter for certain models. So I am hoping I can update the request `query.where` and then pass that...

Oh, sorry, looks like this is already being discussed in https://github.com/premieroctet/next-crud/issues/44

@chrneumann did you find a solution to this. Pretty sure I am getting the same thing In the following example, `interests` is fine but every other type returns `null`. ```typescript...

I am getting the same thing. using the vscode extension but tsgo seems ok with it. ```json { "compilerOptions": { "target": "es5", "downlevelIteration": true, "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true,...