method
BoundTypedGlobal.Publish
Public method BoundTypedGlobal.Publish from github.com/riducms/ridu/core.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
options | TypedMutationOptions | The options value. |
Returns
The declared result.
(Document, error)Full signature
func (global BoundTypedGlobal[Document, Update, Draft]) Publish(
ctx context.Context,
options TypedMutationOptions,
) (Document, error)Related types
BoundTypedGlobalTyped singleton methods for reads, working drafts, publication, restoration, and discard.
TypedMutationOptionsActor, draft intent, expected revision, locale, and response controls for a generated Go mutation.