Gramex.UserDataPersistencePlug (gramex v0.0.3)
View SourceKeeps user data in the database up-to-date.
Usage example:
defmodule Gramex.UserDataPersistencePlug do
use Plug.Builder
plug Gramex.UserDataPlug
plug Gramex.UserDataPersistencePlug, repo: MyApp.Repo, schema: MyApp.User, changeset: MyApp.User.changeset()
end