Data is immediately published even though updating with draft: true
option
#6307
Labels
[possible-bug]
Possible bug which hasn't been reproduced yet
draft: true
option
#6307
Link to reproduction
ikenox@3b88f98
Describe the Bug
Even if specifying
draft: true
option when update, the data is published immediately.I previously using payload
v2.11.1
and it doesn't have this behavior, so it seems to be appeared on recent payload version.To Reproduce
I added a failing test.
ikenox@3b88f98
Command:
Result:
Database state:
This database state seems inconsistent, because
text=UPDATED
is published onposts
table but not on_posts_v
table.Payload Version
2.16.1 (9df5ab8)
Adapters and Plugins
db-postgres
The text was updated successfully, but these errors were encountered: