Closed tfogo closed 6 years ago
i would err on the side of safety here, hence the ||
. in other words, if the programmer explicitly sets noDocument
to true
for insert
, their expectation is for that operation not to be included in the documentation, which should be honored.
I would expect this to be
&&
not||
: https://github.com/carbon-io/carbond/blob/master/lib/collections/Collection.js#L1119My thinking is
noDocument
should betrue
on bothinsert
andinsertObject
forPOST
not to be documented. Thoughts?