Re:Ask HN: Projections as an Alternative to HTTP APIs
by jollyllama on Thursday August 04, 2022 @09:37AM
(#32342721)
This works fine as long as the data flow is one directional. E.g. legacy backend -> db -> read-only frontend
However once the frontend and backend begin to mutate data, you're going to have problems doing that consistently; it's an anti-pattern I recommend against. Better to have an API handle everything.
However once the frontend and backend begin to mutate data, you're going to have problems doing that consistently; it's an anti-pattern I recommend against. Better to have an API handle everything.