Companion gist to a YouTube video describing how the Effect TypeScript library works.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule KitchenManager.Changes.DBTransactionId do | |
| use Ash.Resource.Change | |
| @impl true | |
| def atomic?(), do: true | |
| @impl true | |
| def change(changeset, _opts, _context) do | |
| Ash.Changeset.after_action(changeset, fn _changeset, record -> | |
| record = |
Update all outdated dependencies in this Elixir project, handling both safe updates and breaking changes.
Run mix hex.outdated to get a list of all outdated dependencies. Parse the output to identify:
- Safe updates: Dependencies where only the patch or minor version has changed (no major version bump)
Add copilot-setup-steps.yml to your .github/workflows directory so Copilot Coding Agent doesn’t get lost trying to set up Elixir and Erlang.
This also ensures a postgres database is running, which is helpful for Phoenix apps out of the box.
Dependencies are cached to make the agent start up quickly, as well as saving on metered GitHub Actions compute time.
NewerOlder
