You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changeset=ClusterReadModel|>Repo.get(id)# TODO: couldn't make it work with Ecto.Multi# With following line when we receive an empty list of selected checks, the readmodel does not get updated# %ClusterReadModel{id: id}|>ClusterReadModel.changeset(%{selected_checks: checks})Ecto.Multi.update(multi,:cluster,changeset)
The text was updated successfully, but these errors were encountered:
The's some issue when saving an empty checks selection.
This code does not correctly update
The following code works but it might be subject to race conditions.
See 55c52e3
The text was updated successfully, but these errors were encountered: