mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-19 12:53:40 +12:00
docs: Add upgrade note about changing api
-> domain
(#124)
This commit is contained in:
parent
10fa6b2ff7
commit
261862948b
1 changed files with 10 additions and 0 deletions
|
@ -120,3 +120,13 @@ managed_relationships do
|
|||
managed_relationship :create, :comments, ignore?: true
|
||||
end
|
||||
```
|
||||
|
||||
## `Ash.Api` is now `Ash.Domain` in Ash 3.0
|
||||
|
||||
Your Absinthe schema file (ie. `MyApp.Schema`) will need all references to `api` updated to be `domain`. eg.
|
||||
|
||||
```elixir
|
||||
@domains [MyApp.Domain1, MyApp.Domain2]
|
||||
|
||||
use AshGraphql, domains: @domains
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue