While using RavenDB 5.4.100 with NodeJs typescript client,
I've been trying to update a document via
session.advanced.increment('product/1-A', 'qty', 123);
and
session.advanced.patch('product/1-A', 'qty', 123);
https://github.com/ravendb/ravendb-nodejs-client#advanced-patching
But I always get an empty object in the specified property rather than the numeric data:
"qty": {},
instead of
"qty": 123,
does anyone know a workaround? I think it's a bug
I was expecting the property to have a numeric value
We verifed your case and it seems to be working properly.
I'm pasting snippet for your convience.