Hi, On Thu, Jan 27, 2011 at 3:11 PM, Alexander Klimetschek <[email protected]> wrote: >... Add a new "@Patch" suffix: > > my:property@TypeHint=String[] > my:property@Patch=true > my:property=+value1 > my:property=-value1
I like the idea but a (slight) problem is that this is not idempotent, if the client repeats the request value1 will be added twice. To make it (optionally) safer you could have two values for @Patch, "fast" (non-idempotent) and "safe" which only adds value that do not exist yet. -Bertrand
