Dumpify
Dumpify copied to clipboard
Special consideration for DirectoryInfo
Dump() does print out DirectoryInfo object but the recursive nature of the references (JsonSerializer just fails on it so that's good!) makes a few references up or down the directory tree make the panels start appearing very squashed. I don't know if it is the aim of Dumpify to remain generic for all objects of if special consideration be given for certain types? If so I think there are many improvements that could be made for DirInfo, like not printing all info for recursive reference and just the dirname, maybe put it in a tree instead of nested panels etc..
And FileInfo, FileSystemInfo etc
Hi, thanks for the suggestion!
I just tried to dump DirectoryInfo
and I agree, it isn't great. I do treat some objects differently, and it will be easy to custom handle DirectoryInfo
, FileInfo
, etc..., we just need to figure out which properties are required and which are not.