Bonfire.Poll.Acts.Choices.Upsert (Bonfire v1.0.1-social-alpha.28)
View SourceWIP: Creates a changeset for publishing choice(s) for a question
Epic Options:
:current_user- user that will create the choice, required.:choice_attrs(configurable) - attrs to create the choice from, required.:choice_id(configurable) - id to use for the created choice (handy for creating activitypub objects with an id representing their reported creation time)
Act Options:
:id- epic options key to find an id to force override with at, default::choice_id:as- key to assign changeset to, default::choice.:attrs- epic options key to find the attributes at, default::choice_attrs.