You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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.
The text was updated successfully, but these errors were encountered:
#148 duplicated the
Post
andPostMetadata
model/dataresult types in the blog test, one for ifdatatime
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.The text was updated successfully, but these errors were encountered: