Discussion about this post

User's avatar
Duncan Wilder's avatar

Good writeup.

I found that trying to stick to CRUD REST API's led to confusion when boundaries crossed ("I need to update Y with data from X. Is this operation for X or is it for Y?"). Following the "Command Query Responsibility Segregation" (CQRS) pattern used largely by GraphQL helped make this clearer. Yes, I have more endpoints, but they're specific, easy to trace and debug due to increased observability, and reduce overall complexity.

Expand full comment
1 more comment...

No posts