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
We started using the library and on a specific scenario, we have to use Ecto.Multi .
Looking through the documentation/code, the usage of ExAudit.Tracking.track_change implies that user will build the resulting_struct through Ecto.Repo.Schema and that is clear unless you go through the codebase.
Also, Ecto Documentation does not expose Ecto.Repo.Schema which makes the usage trickier.
btw, plugin works great on basic operations.
The text was updated successfully, but these errors were encountered:
stonehz
changed the title
Documentation/Suggestion: Add example of how to use manually use track_changes?
Documentation/Suggestion: Add example of how to manually use use track_changes?
Jul 11, 2018
stonehz
changed the title
Documentation/Suggestion: Add example of how to manually use use track_changes?
Documentation/Suggestion: Add example of how to manually use track_changes?
Jul 11, 2018
stonehz
changed the title
Documentation/Suggestion: Add example of how to manually use track_changes?
Documentation/Suggestion: Add example of how to manually use track_changes?
Jul 11, 2018
Note that deep changes will not be tracked with this, because ex_audit is abusing the fact that ecto calls repo.insert/repo.update for those recursively
We started using the library and on a specific scenario, we have to use
Ecto.Multi
.Looking through the documentation/code, the usage of
ExAudit.Tracking.track_change
implies that user will build the resulting_struct throughEcto.Repo.Schema
and that is clear unless you go through the codebase.Also, Ecto Documentation does not expose
Ecto.Repo.Schema
which makes the usage trickier.btw, plugin works great on basic operations.
The text was updated successfully, but these errors were encountered: