You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/dsls/DSL-Ash.Resource.md
-46Lines changed: 0 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3024,7 +3024,6 @@ that can be referenced from multiple actions via `pipe_through`.
3024
3024
3025
3025
### Nested DSLs
3026
3026
*[pipeline](#pipelines-pipeline)
3027
-
* argument
3028
3027
* change
3029
3028
* validate
3030
3029
* prepare
@@ -3055,7 +3054,6 @@ that can be referenced from multiple actions via `pipe_through`.
3055
3054
3056
3055
3057
3056
### Nested DSLs
3058
-
*[argument](#pipelines-pipeline-argument)
3059
3057
*[change](#pipelines-pipeline-change)
3060
3058
*[validate](#pipelines-pipeline-validate)
3061
3059
*[prepare](#pipelines-pipeline-prepare)
@@ -3082,52 +3080,8 @@ end
3082
3080
| Name | Type | Default | Docs |
3083
3081
|------|------|---------|------|
3084
3082
|[`description`](#pipelines-pipeline-description){: #pipelines-pipeline-description } |`String.t`|| An optional description for the pipeline |
3085
-
|[`accept`](#pipelines-pipeline-accept){: #pipelines-pipeline-accept } |`atom \| list(atom) \| :*`|`[]`| A list of attributes to accept. Merged with the action's own accept list. |
3086
-
3087
-
3088
-
### pipelines.pipeline.argument
3089
-
```elixir
3090
-
argument name, type
3091
-
```
3092
-
3093
-
3094
-
Declares an argument on the action
3095
-
3096
-
3097
-
3098
-
3099
-
### Examples
3100
-
```
3101
-
argument :password_confirmation, :string
3102
-
```
3103
-
3104
3083
3105
3084
3106
-
### Arguments
3107
-
3108
-
| Name | Type | Default | Docs |
3109
-
|------|------|---------|------|
3110
-
|[`name`](#pipelines-pipeline-argument-name){: #pipelines-pipeline-argument-name .spark-required} |`atom`|| The name of the argument |
3111
-
|[`type`](#pipelines-pipeline-argument-type){: #pipelines-pipeline-argument-type .spark-required} |`module`|| The type of the argument. See `Ash.Type` for more. |
3112
-
### Options
3113
-
3114
-
| Name | Type | Default | Docs |
3115
-
|------|------|---------|------|
3116
-
|[`description`](#pipelines-pipeline-argument-description){: #pipelines-pipeline-argument-description } |`String.t`|| An optional description for the argument. |
3117
-
|[`constraints`](#pipelines-pipeline-argument-constraints){: #pipelines-pipeline-argument-constraints } |`keyword`|`[]`| Constraints to provide to the type when casting the value. For more information, see `Ash.Type`. |
3118
-
|[`allow_nil?`](#pipelines-pipeline-argument-allow_nil?){: #pipelines-pipeline-argument-allow_nil? } |`boolean`|`true`| Whether or not the argument value may be nil (or may be not provided). If nil value is given error is raised. |
3119
-
|[`public?`](#pipelines-pipeline-argument-public?){: #pipelines-pipeline-argument-public? } |`boolean`|`true`| Whether or not the argument should appear in public interfaces |
3120
-
|[`sensitive?`](#pipelines-pipeline-argument-sensitive?){: #pipelines-pipeline-argument-sensitive? } |`boolean`|`false`| Whether or not the argument value contains sensitive information, like PII(Personally Identifiable Information). See the [security guide](/documentation/topics/security/sensitive-data.md) for more. |
3121
-
|[`default`](#pipelines-pipeline-argument-default){: #pipelines-pipeline-argument-default } |`any`|| The default value for the argument to take. It can be a zero argument function e.g `&MyMod.my_fun/0` or a value |
"Preparation `#{inspect(module)}` in pipeline `#{pipeline.name}` does not support `#{inspect(subject)}` (supported: #{inspect(module.supports(opts))})"
0 commit comments