Skip to content

Refactor and test user event serialisation#3912

Merged
pcapriotti merged 10 commits intodevelopfrom
pcapriotti/golden-events
Mar 18, 2024
Merged

Refactor and test user event serialisation#3912
pcapriotti merged 10 commits intodevelopfrom
pcapriotti/golden-events

Conversation

@pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Feb 29, 2024

This replaces the ad-hoc serialisation code for user event with schema-profunctor instances, like everything else, and introduces golden tests for them. The JSON golden files were generated using the old code to ensure this refactoring hasn't changed anything.

https://wearezeta.atlassian.net/browse/WPB-6892

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@pcapriotti pcapriotti force-pushed the pcapriotti/golden-events branch from 2c4e3c5 to f8ebe3b Compare March 6, 2024 08:13
@pcapriotti pcapriotti marked this pull request as ready for review March 6, 2024 08:16
@pcapriotti pcapriotti force-pushed the pcapriotti/golden-events branch from f8ebe3b to 74575a2 Compare March 6, 2024 12:34
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Mar 6, 2024
@pcapriotti pcapriotti force-pushed the pcapriotti/golden-events branch from a14bfe4 to 8ec8577 Compare March 11, 2024 08:28
Copy link
Contributor

@battermann battermann left a comment

Choose a reason for hiding this comment

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

I would request to remove the empty file. The rest is just opinion and looks good otherwise. Approved in advance.

@pcapriotti pcapriotti force-pushed the pcapriotti/golden-events branch from 8ec8577 to d7fcfdc Compare March 15, 2024 09:16
@pcapriotti pcapriotti merged commit b85133f into develop Mar 18, 2024
@pcapriotti pcapriotti deleted the pcapriotti/golden-events branch March 18, 2024 14:06
@echoes-hq echoes-hq bot added the echoes: unplanned Any work item that isn’t part of the product or technical roadmap. label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

echoes: unplanned Any work item that isn’t part of the product or technical roadmap. ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants