This repository has been archived by the owner on May 7, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made some api changes that improve consistency and usefulness of thev…
…alidation and error generation process, alowing it to be split in amore logical manner. Breaking changes include: * validate method now only returns failure or success, instead of success val with errenous nodes * state serialization (render,render_json) only returns the the serialized pattern (json or html). This is convenient because it can be invoked at the return call from a view * removed the update success function because it was essentially a bandaid for this problem * unified the _gen_validate to all be in validate proper. * success_header_generate does not operate in the same way, and is now only for return actions from json_render * error_header_generate is essentially the same, except is should never return anything and doesn't recieve block anymore * Changed the block key in json response to success for js library interaction
- Loading branch information