mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
chore: undo typo
This commit is contained in:
parent
ff65ef4951
commit
0ca7393417
2 changed files with 2 additions and 1 deletions
|
@ -1990,6 +1990,7 @@ identity :full_name, [:first_name, :last_name]
|
|||
| [`pre_check_with`](#identities-identity-pre_check_with){: #identities-identity-pre_check_with } | `module` | | Validates that the unique identity provided is unique in a before_action hook. |
|
||||
| [`description`](#identities-identity-description){: #identities-identity-description } | `String.t` | | An optional description for the identity |
|
||||
| [`message`](#identities-identity-message){: #identities-identity-message } | `String.t` | | An error message to use when the unique identity would be violated |
|
||||
| [`all_tenants?`](#identities-identity-all_tenants?){: #identities-identity-all_tenants? } | `boolean` | `true` | Whether or not this identity is unique across all tenants. If the resource is not multitenant, has no effect. |
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ defmodule Ash.Resource.Identity do
|
|||
],
|
||||
all_tenants?: [
|
||||
type: :boolean,
|
||||
default: true,
|
||||
default: false,
|
||||
doc:
|
||||
"Whether or not this identity is unique across all tenants. If the resource is not multitenant, has no effect."
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue