It's just easier and more convenient to work with.
I want xyz data. I query for xyz data. Single request.
I want to provide abc data. I put abc data in the database and expose it (don't have to write another separate endpoint plus all the related relationships). Now I can query for ranges, filter, etc. in a single request.
Comments
It's just easier and more convenient to work with.
I want xyz data. I query for xyz data. Single request.
I want to provide abc data. I put abc data in the database and expose it (don't have to write another separate endpoint plus all the related relationships). Now I can query for ranges, filter, etc. in a single request.