Middleware
Learn why we need middleware.
We'll cover the following...
Importance of middleware
In one of the previous lessons, we added several resolution and error-handling functions. The error-handling functions enable the system to give users feedback about errors that bubble up from the underlying database. These problems range from internal schema validation problems like missing and badly formatted arguments to database constraint violations. If we add more resolvers to power the ordering system, we ...