pointfreeco / swift-custom-dump

A collection of tools for debugging, diffing, and testing your application's data structures.
MIT License
800 stars 89 forks source link

Filter properties prefixed with `_$` #100

Closed stephencelis closed 1 year ago

stephencelis commented 1 year ago

This seems to be the macro convention, and as folks add @Observable to their types they will begin to see these details leaking into their dumps, which is generally not relevant and doesn't result in a dump that resembles the original source.

We could consider a configuration option in the future to dump these values, but for now folks can always use plain dump or a mirror to access these values when they need them.