Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Let serializers get a type traits struct instead of the raw type. #1542
This is a breaking change for any serializer implementations. The expectation though is that the only existing seriailzer implementations are currently the ones in vibe.d itself.
The traits struct in particular carries UDA information, which allows serializers to support serializer specific UDAs. The code has also been refactored a bit to reduce line length/visual noise.
Thanks for reviewing! I still often do not manage to focus on doing a single thing at a time, so I had to rework the commit history quite heavily to get it to a reviewable state ;-)
BTW, I'll get to #1547 shortly (still in vacation, but maybe tomorrow when we are on the ferry), but it looks like what I had in mind for such an implementation.