The helping-hands.provider.core namespace defines all the interceptors that are used for the routes of the Provider microservice. Validation interceptors validate the input parameters and make sure that all the required fields are present in the request. Validation interceptors for Provider routes work exactly in the same way as that of the Consumer microservice routes. Additionally, they validate the datatype of the rating and since fields to make sure that the business model gets the values in the format expected by the Datomic database. The implementation of validation interceptors is shown in the following code snippet:
(ns helping-hands.provider.core "Initializes Helping Hands Provider Service" (:require [cheshire.core ...