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
.drafts should only be present in entities that can actually be draftable. Currently, entities that aren't actually draftable might end up with a .drafts property.
check with the compiler team whether there is a surefire way to determine an entity's draftability
if possible, get rid of the current voodoo where we propagate annotations through the CSN
make sure a static .drafts property is only exposed when the entity can actually be drafted during runtime
The text was updated successfully, but these errors were encountered:
P.S.: There is a lot more going on in that branch, so you may have to overlook a few things 😉. If you think that we can use that approach I am happy to create a specific PR for the drafts feature only.
Follow-up to: #34
.drafts
should only be present in entities that can actually be draftable. Currently, entities that aren't actually draftable might end up with a.drafts
property..drafts
property is only exposed when the entity can actually be drafted during runtimeThe text was updated successfully, but these errors were encountered: