3 ms·
I explore this topic in my blog post from a few months ago: https://adsharma.github.io/flattools-programs/ https://adsharma.github.io/flattools-programs/ In s
by adsharma 6y ago
I explore this topic in my blog post from a few months ago:
https://adsharma.github.io/flattools-programs/ https://adsharma.github.io/flattools-programs/
In short, django models are written using a very low level of abstraction. I much prefer dataclasses generated from a high level IDL.
The blog post compares different IDLs and argues why flatbuffer IDL is more suitable.
In order to express queries over such models:
https://adsharma.github.io/fquery/ https://adsharma.github.io/fquery/
- adsharma 6y agoAlso see: https://github.com/oxan/djangorestframework-dataclasses/issues/33 https://github.com/oxan/djangorestframework-dataclasses/issu... on how this could work. The author wasn't interested, but I might pursue it in a fork.