I want to write a sync function and so if the new document pushed is creating conflict then I would like to reject that document.
I know this will be supported in 1.5 but right now we are using 1.4.1 and I don’t care for the data loss because it will be purely for dev environment. We do data reset by flushing the bucket and then push the same data (when it was inserted for first time).
Now if a dev push old data because he had old build running then all documents gets conflict and it become very cumbersome to correct data again. Is it possible to do so by Sync gateway sync function. If yes then please let me know.