Andrew Arnott

News from my corner of the Visual Studio Connected Experience team, programming tips, and solutions to common programming issues.

ImmutableObjectGraph has some big updates now, and more coming soon

I was able to work out a model for continued open source development of ImmutableObjectGraph — at least in a limited way. This means that the 16 month silence on the public repo is over, and I was able to push a bunch of the commits I had been keeping internal to the public.

For those of you not already familiar with the library/tool, you can catch up by reading these past blog posts:

So what’s new in these 233 new commits? Mostly the generation of structs that provide a convenient means to reference an object in the middle of a recursive graph, modify it (via copy on write) and have it automatically rewrite the spine so that you have a new tree of everything, but reusing as many objects as possible. I think it’s pretty slick. Try it out and send your feedback and pull requests!
Also very exciting is some work to revise the technology this tool uses from T4 to using Roslyn. Check out a video that shows the before and after experience and again, send your feedback.This work will also be available in the open source project under the Roslyn branch shortly.