Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is the right answer here. This design simplifies APIs and makes them much more straight forward as it more easily lets you operate on the data.

Nesting entities seems like the right approach at first but can turn into a nightmare as you continue to build things out.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: