refine
refine copied to clipboard
[FEAT] nestjs-query support
Hi, thanks for making such an awesome tool. Is it possbile to also add nestjs-query support? I saw there is nest-crud which is great, but IMHO a GraphQL API has many advantages over REST. It would be great if refine can support both nest-crud and nestjs-query. Many thanks!
Hey @dzcpy , Thanks so much for contacting us! I think it would be great too! Frankly, I don't have any predictions about when we can add it. If you try to do it and you need help, we will be happy to help you. btw, if you haven't been to our Discord yet, we are waiting for you!
I would like to work on this
I would like to work on this
Happy hacking! 🚀
Unassigned @AyushK-101 due to inactivity on this issue. Is there anyone wants to work on this issue? 🙏
Hey @omeraplak @aliemir, I would like to work on it but I don't have any experience about nestjs-query now. could you please give some info about this feature? how can i start to working on it?
Hi @sevkioruc, thank you for your interest. nestjs-query is a back-end library with graphql and crud applications. A data provider needs to be prepared using this project. Strapi graphql would be a good example.
You temporarily run a nestjs-query application locally and integrate it there. Then we will deploy it to the refine subdomain.
Thank you for clarification @yildirayunlu. I will look these links and start working soon. :)
Hey @yildirayunlu, i have two questions. How to test this package behaviour is correct? and which should i use url for unit test?
Hey @sevkioruc, first of all, you should test the provider you made manually. For this, create a Post end-point and make sure that the crud operations are working correctly.
Then you have to cover it with unit tests. Use nock library for this.
We will help you prepare the API. We'll deploy and give you a URL. You can open PR.
Hi @yildirayunlu, I have just started manual testing. I will write tests later, too. Thank you so much!
Hey @yildirayunlu, should I create a backend project with nestjs-query for manual testing?
Yes @sevkioruc, you have to create a project and perform post crud operations. If you are not experienced with back-end and nestjs I can help with this.
I haven't used nestjs or nestjs-query before but i use nodejs/express. I will try it but i can ask a question when i encounter any problem. Thank you @yildirayunlu :)
Hi @yildirayunlu, this week i am a little bit busy. Is it okay if can i work on backend in the weekend? or is it late?
Hey @sevkioruc let's do this if you want. We'll take care of the back-end and give you an api url. You focus on data provider.
Thank you @yildirayunlu better for me :)
Since the nestjs-query project is not actively maintained, we have given up on developing this data provider. But if the community wants to make it, we will provide our best support. Thank you for your understanding
Hey @dzcpy @sevkioruc @AyushK-101 ,
Good news for today, we have released our @refinedev/nestjs-query package!
Release: https://github.com/refinedev/refine/releases/tag/%40refinedev%2Fnestjs-query%401.0.2
Demo: https://example.crm.refine.dev/