New array formatters for calculating the sum/ average of values
New formatters for calculating the sum/ average of an array of values. User can specify an optional value path to extract values from an array of objects.
This functionality is what I'd need now. Any updates on the merging?
This functionality is what I'd need now. Any updates on the merging?
I'm also waiting for the team to merge and include the formatters in the next release. At the moment you can use something like patch-package to prepare a patch with the changes I made. When you deploy your Node.js application, run npx patch-package to apply the changes after npm install (you can also add the postinstall script in your package.json to run that automatically), then you will have the formatters ready for use. I'm using this approach and it works quite well.
Thank you @alxtsg !