Skip to content

Add error/changed fields to callback

Yakubov, Sergey requested to merge 11-add-error-changed-fields-to-callback into main

Summary of Changes

Added a dictionary to callbacks that are called by mvvm on binding update from view side to provide results of the update - a list of updated fields, or a list of fields with errors (and also an original Pydantic error in case a developer wants to dig for more information).

Want to add some tests in a separate issue. Meanwhile, a MR for the template will follow.

Checklist

  • The MR has a clear and concise title
  • Code is self-documented and follows style guidelines.
  • Automated tests are written and pass successfully.
  • Regression tests (e.g. manually triggered system tests, manual GUI/tool tests, ...) are performed to make sure the MR does not break anything (when applicable)
  • Readme file is present and up-to-date.

Documentation Updates

Additional Notes

Closes #11 (closed)

Merge request reports

Loading