Open
Description
#148 duplicated the Post
and PostMetadata
model/dataresult types in the blog test, one for if datatime
is enabled and one for if it is not. That shouldn't have been necessary -- it should be possible simply to use #cfg
attributes on the field. Unfortunately, the model attribute is processed before the cfg attribute and Butane doesn't propagate the cfg properly and ends up creating references to the field that is ultimately omitted. We should check for the cfg attribute and if so propagate it to all references we create to the field.