by HeyHoJoe · 6y ago · 0 comments
Then you don't share many of the reasons GraphQL was originally created for. Act accordingly.
Web API contracts are primarily routes and request/response data structures. This allows front end and backend concerns to be separate which allows a lot more flexibility over time for both front end and backend developers. From my limited knowledge of GraphQL, this is still possible but more work than just exposing your db schema types/DTOs.