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

workflow: Support json.Marshaler implementations for Require #35

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

andrewwormald
Copy link
Collaborator

I have started to see some json.Marshaler implementations and the testing util func Require needs to be provided with an object that has gone through the encode and decode process. To avoid the user needing to do this the Require func is being updated to take the provided expected data and encode and then decode it the same way the data in the workflow. This is a developer experience (DX) change at the heart of it as it's frustrating to need to adjust default zero values of objects or reformat underlying strings etc.

Copy link

sonarcloud bot commented Sep 20, 2024

@andrewwormald andrewwormald merged commit 041f41a into main Sep 23, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants