django-restql (DRF Third Party Package)

56 views
Skip to first unread message

Yezileli Ilomo

unread,
Sep 12, 2019, 2:54:33 AM9/12/19
to Django REST framework

Hi ..


I've released django-restql v0.5.0,


It's a library which allows you to turn your API made with Django REST Framework(DRF) into a GraphQL like API.


With django-restql you will be able to

  • Send a query to your API and get exactly what you need, nothing more and nothing less.

  • Control the data you get, not the server.

  • Get predictable results, since you control what you get from the server.

  • Save the load of fetching unused data from the server(Over-fetching and Under-fetching problem).

  • Write(create & update) on nested fields with flexibility.

Here is a GitHub link for the project https://github.com/yezyilomo/django-restql,


I've also created a PR to add it to DRF third party packages https://github.com/encode/django-rest-framework/pull/6878,


I would like to hear from you guys, how do you see it?,


Any feedback will be appreciated, you are also welcome to contribute if you find it cool.


Thanks.

clifford clifford

unread,
Sep 12, 2019, 2:57:53 AM9/12/19
to django-res...@googlegroups.com
Nice job, after  trying it, if it's cool I'll like to contribute 

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/cf7e8945-cecf-46a8-b1e7-9ca0ebb20f6e%40googlegroups.com.

Musharaf Baig

unread,
Sep 12, 2019, 3:15:12 AM9/12/19
to Django REST framework
Great! Love to contribute.

Yezileli Ilomo

unread,
Sep 12, 2019, 3:19:48 AM9/12/19
to django-res...@googlegroups.com
You are very welcome.

On Thu, Sep 12, 2019 at 9:57 AM clifford clifford <calif...@gmail.com> wrote:
Nice job, after  trying it, if it's cool I'll like to contribute 
On Sep 12, 2019 7:54 AM, "Yezileli Ilomo" <yezile...@gmail.com> wrote:

Hi ..


I've released django-restql v0.5.0,


It's a library which allows you to turn your API made with Django REST Framework(DRF) into a GraphQL like API.


With django-restql you will be able to

  • Send a query to your API and get exactly what you need, nothing more and nothing less.

  • Control the data you get, not the server.

  • Get predictable results, since you control what you get from the server.

  • Save the load of fetching unused data from the server(Over-fetching and Under-fetching problem).

  • Write(create & update) on nested fields with flexibility.

Here is a GitHub link for the project https://github.com/yezyilomo/django-restql,


I've also created a PR to add it to DRF third party packages https://github.com/encode/django-rest-framework/pull/6878,


I would like to hear from you guys, how do you see it?,


Any feedback will be appreciated, you are also welcome to contribute if you find it cool.


Thanks.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/CAOiLTmwPgA%2B0yqaJPW9d57GnjiP7eWMKeyD3aG64bmkfUtzEEg%40mail.gmail.com.

Yezileli Ilomo

unread,
Sep 12, 2019, 3:21:08 AM9/12/19
to django-res...@googlegroups.com
You are very welcome.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.

Oğuzhan

unread,
Sep 15, 2019, 6:54:48 AM9/15/19
to django-res...@googlegroups.com
Firstly congratulations. But it doesnot work with serializer.Method fields. In case when i use one to many fields i need to send other serializer's ids into inside serializer.

def get_a_list(self, obj):
    child = b.objects.all()
    serializer = BListSerializer(instance=child, context={"obj_id": obj.id}, many=True)
    return serializer.data

django-restql v0.5.0,

Reply all
Reply to author
Forward
0 new messages