mirror of
https://github.com/ash-project/ash.git
synced 2024-09-19 13:03:02 +12:00
chore: update deps in cookbooks
This commit is contained in:
parent
32446b0b2e
commit
5187c83466
5 changed files with 7 additions and 7 deletions
|
@ -5,7 +5,7 @@
|
|||
```elixir
|
||||
Mix.install(
|
||||
[
|
||||
{:ash, path: "~/dev/ash/ash"},
|
||||
{:ash, "~> 3.0"},
|
||||
{:simple_sat, "~> 0.1"},
|
||||
{:kino, "~> 0.12"}
|
||||
],
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Encrypt Attributes
|
||||
|
||||
```elixir
|
||||
Mix.install([{:ash, "~> 3.0.0-rc"}, {:ash_cloak, "~> 0.1.0-rc"}, {:cloak, "~> 1.1"}],
|
||||
Mix.install([{:ash, "~> 3.0"}, {:ash_cloak, "~> 0.1.0"}, {:cloak, "~> 1.1"}],
|
||||
consolidate_protocols: false
|
||||
)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Prevent concurrent writes
|
||||
|
||||
```elixir
|
||||
Mix.install([{:ash, "~> 3.0.0-rc"}], consolidate_protocols: false)
|
||||
Mix.install([{:ash, "~> 3.0"}], consolidate_protocols: false)
|
||||
# Set to `:debug` if you want to see ETS logs
|
||||
Logger.configure(level: :warning)
|
||||
```
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Test Resources
|
||||
|
||||
```elixir
|
||||
Mix.install([{:ash, "~> 3.0.0-rc}, {:simple_sat, "~> 0.1"}],
|
||||
Mix.install([{:ash, "~> 3.0}, {:simple_sat, "~> 0.1"}],
|
||||
consolidate_protocols: false
|
||||
)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
```elixir
|
||||
Mix.install(
|
||||
[
|
||||
{:ash, "~> 3.0.0-rc"},
|
||||
{:ash, "~> 3.0"},
|
||||
{:req, "~> 0.4.0"}
|
||||
],
|
||||
consolidate_protocols: false
|
||||
|
@ -26,7 +26,7 @@ This guide covers reading data from the external API, not creating/updating it.
|
|||
|
||||
1. Create a resource for interacting with the given API
|
||||
2. Create a manual read action
|
||||
3. In this manual action, we will:
|
||||
3. In this manual action, we will:
|
||||
1. call the target API
|
||||
2. transform the results
|
||||
3. apply query operations to simulate capabilities provided by Ash
|
||||
|
@ -53,7 +53,7 @@ defmodule Doc do
|
|||
read :search do
|
||||
primary? true
|
||||
argument :query, :string, allow_nil?: false
|
||||
prepare fn query, _ ->
|
||||
prepare fn query, _ ->
|
||||
# We require that they limit the results to some reasonable set
|
||||
# (because this API is huge)
|
||||
cond do
|
||||
|
|
Loading…
Reference in a new issue