Skip to content

Draft: Make default workflow_state 'unpublished' instead of nil (DDK-316)

David Chandek-Stark requested to merge DDK-316-workflow-state-default into main

nil has been interpreted as equivalent to 'unpublished', so this is a formal acknowledgment of that fact. nil is still technically allowed (i.e., workflow_state is defined as optional) in part for legacy data compatibility and for ease of use. Note that the publication service workflow (via the workflow gem) automatically translates nil to the initial workflow state, 'unpublished'.

Merge request reports