amplify-codegen-ui icon indicating copy to clipboard operation
amplify-codegen-ui copied to clipboard

feat: pass form save result to onSuccess handler

Open Jshhhh opened this issue 1 year ago • 0 comments

Problem

Fields object is passed into onSuccess handler in forms. The result of save call would be more helpful

Solution

pass save result to onSuccess handler

Manual tests

Manual save local

Automated tests

  • [x] Unit tests added/updated
  • [x] E2E tests added/updated
  • [ ] N/A - (provide a reason)
  • [ ] deferred - (provide GitHub issue for tracking)

Housekeeping

  • [x] No non-essential console logs
  • [x] All new files contain license notice

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Jshhhh avatar Jan 29 '24 21:01 Jshhhh