Skip to content

Conversation

PhilippMDoerner
Copy link
Contributor

@PhilippMDoerner PhilippMDoerner commented Jan 1, 2022

I ran face first into this issue of not understanding what s in the example dump-hook was.
In my naivity I replaced the contents of s with the serialization-string of my custom datatype, which of course dropped serialization data.

To avoid others from running into the same issue and foster a slightly better understanding of what happens in dumpHooks I added two sentences to the Readme elaborating what s is (the currently unfinished serialization string of a given serialization) and how that needs to be appended to.

I ran face first into this issue of not understanding what `s` in the example 
dump-hook was. In my naivity I *replaced* the contents of `s` with the 
serialization-string of my custom datatype.

To avoid others from running into the same issue and foster a slightly better
understanding of what happens in dumpHooks I added these two sentences.
@treeform treeform merged commit a1e9f97 into treeform:master Jan 1, 2022
@treeform
Copy link
Owner

treeform commented Jan 1, 2022

Thank you for the PR!

@PhilippMDoerner PhilippMDoerner deleted the patch-1 branch January 1, 2022 09:27
@PhilippMDoerner
Copy link
Contributor Author

Thank you for the PR!

Happy to help! Particularly help others avoid running into the same silly issues I did

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