Make applyPatches
to accept readonly Patch[]
#1094
Merged
applyPatches
to accept readonly Patch[]
#1094