remove the meta object in reponse. The reponsability to publish metadata on the endpoint should fall to the the clients of the library.
rename patchDoc() into updateDoc() and updateDoc() into replaceDoc(). This way it better represents the function of the particular middleware. This leave no bias to the client when choosing how to bind these methods.
improve error response messages and custom logging
meta
object in reponse. The reponsability to publish metadata on the endpoint should fall to the the clients of the library.patchDoc() into updateDoc()
andupdateDoc() into replaceDoc()
. This way it better represents the function of the particular middleware. This leave no bias to the client when choosing how to bind these methods.