Skip to content

Fix message storage of recorded at for mysql 8.0 - #33

Open
Robertbaelde wants to merge 6 commits into
EventSaucePHP:mainfrom
Robertbaelde:refactor-message-repository-to-support-mysql8
Open

Fix message storage of recorded at for mysql 8.0#33
Robertbaelde wants to merge 6 commits into
EventSaucePHP:mainfrom
Robertbaelde:refactor-message-repository-to-support-mysql8

Conversation

@Robertbaelde

Copy link
Copy Markdown
Contributor

This small change in the LaravelMessageRepository will fix the issue with mysql8 datetime:

Issue in LaravelEventSauce #25
"parent" issue in EventSauce: EventSaucePHP/EventSauce#108

I'm aware of the MySQL8DateFormatting but I think formatting the date in the right way for the storage should be a concern of the repository.

Besides that, I think this would improve the onboarding experience of new users of this package.

@Robertbaelde

Copy link
Copy Markdown
Contributor Author

@frankdejonge @rahmanii0 Curious about the vision you both have in regards to the versioning of this package. Since EventSauce .8 to 1.2 introduced some breaking changes, I think it would be easier for maintenance of this package to follow EventSauce's major version bump.

If we don't do this, we'll end up with If checks through this package in order to support all versions.
Happy with both ways, but think it's a nice time to discuss since this PR encountered the issue.

@Robertbaelde Robertbaelde changed the title Fix message storage using correct recorded_at Fix message storage of recorded at for mysql 8.0 Jan 20, 2022
@frankdejonge

Copy link
Copy Markdown
Member

@Robertbaelde I think it makes sense to drop 0.8 and bump the major version up.

@simensen

simensen commented Apr 8, 2022

Copy link
Copy Markdown

Do we still need to do this if we replace LaravelMessageRepository with the core Illuminate message repository? #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants