statamic / eloquent-driver

Provides support for storing your Statamic data in a database, rather than flat files.
https://statamic.dev/tips/storing-content-in-a-database
MIT License
104 stars 74 forks source link

Bring submission events inline with Statamic #127

Closed indykoning closed 1 year ago

indykoning commented 1 year ago

See: https://github.com/statamic/cms/blob/3.4/src/Forms/Submission.php#L10 https://github.com/statamic/cms/blob/3.4/src/Forms/Submission.php#L152 https://github.com/statamic/cms/blob/3.4/src/Forms/Submission.php#L164

Currently we're missing events that are fired by default statamic and not by this module. Making code depending on these events unpredictable and most-likely non-functional.

This PR will bring those events inline with how they work in default Statamic.