Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New seralizer logic #1613

Merged
merged 4 commits into from
Oct 31, 2023
Merged

New seralizer logic #1613

merged 4 commits into from
Oct 31, 2023

Conversation

cleptric
Copy link
Member

Based on #1612

This declutters the PayloadSeralizer and adds distinct EnvelopeItem types based on the event type.
While this is not strictly DRY, transactions will soon diverge heavily from errors, hence already laying the groundwork.

@cleptric cleptric self-assigned this Oct 30, 2023
@cleptric cleptric requested a review from stayallive October 30, 2023 22:54
@cleptric cleptric force-pushed the new-seralizer-logic branch from d47b483 to 674d781 Compare October 30, 2023 23:13
@cleptric cleptric marked this pull request as ready for review October 30, 2023 23:18
@cleptric cleptric added this to the 4.0 milestone Oct 31, 2023
# Conflicts:
#	src/Serializer/PayloadSerializer.php
Copy link
Contributor

@stephanie-anderson stephanie-anderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found some comments that look like they should be removed. Please have a look, otherwise seems fine

src/Serializer/EnvelopItems/EventItem.php Outdated Show resolved Hide resolved
src/Serializer/EnvelopItems/TransactionItem.php Outdated Show resolved Hide resolved
src/Serializer/EnvelopItems/TransactionItem.php Outdated Show resolved Hide resolved
@cleptric
Copy link
Member Author

All cleaned up

@cleptric cleptric merged commit 6ba2a2c into 4.x Oct 31, 2023
33 checks passed
@cleptric cleptric deleted the new-seralizer-logic branch October 31, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants