I was just wondering if there is any way to relax/bypass field validation when publishing an entry using client.entry.publish(...)?
The App SDK has a skipUiValidation prop that can be set to true in the options object when running entry.publish(options): Promise<void> in order to bypass validation. I'm looking for something similar.
Also,
I was wondering why I need to pass in the entry itself to the function. Why isn't the entryId enough?
await client.entry.publish(
{
spaceId: '<space_id>',
environmentId: '<environment_id>',
entryId: '<entry_id>',
},
{ ...entry } //Why does it need this?
);
Hi,
I was just wondering if there is any way to relax/bypass field validation when publishing an entry using client.entry.publish(...)?
The App SDK has a
skipUiValidation
prop that can be set to true in the options object when runningentry.publish(options): Promise<void>
in order to bypass validation. I'm looking for something similar.Also, I was wondering why I need to pass in the entry itself to the function. Why isn't the
entryId
enough?Thank you!