sourcey/moxygen

support for unions

Opened this issue · 1 comments

It looks like unions cannot be rendered at the moment. I'm trying to document a firmware project which contains a lot of unions, and I get many warnings along the lines of:

warn: cannot render union <union_name>

Looking at the code, it looks to just be a missing switch case statement. I haven't looked into fixing this myself as I'm not very familiar with javascript. I hope it's an easy fix though!

Also: This seems to slow my runtime of oxygen significantly just due to all of the information it prints out when it hits this issue.