This is the validator used in the eaternity-edb-solution app to validate the product tree and pull fields from parent products. It was moved here to make debugging possible because we did manage to debug the electron main process directly. When we manage to do this we should probably move it back...
To extend or fix the validator make sure to work on a separate branch e.g. feature/xxx, pull that branch into the eaternity-edb-solution by adding the #feature/xxx tag to the import statement in package.json and running npm install. See here for more info if needed.
- copy the
eaternity-edb-datafolder into the root of this repo (it's gitignored and should not get published!!) - adjust
src/debug.jsto your liking npm run debug
When finished merge the feature branch into develop. Then bump the version number and merge into master.
Finally, back in the eaternity-edb-solution make sure to remove the #feature/xxx tag again to make sure the master branch get's pulled in!