Skip to content

Commit 2fd1c23

Browse files
committed
Add the copy_from option to the Append processor.
1 parent e110915 commit 2fd1c23

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

specification/ingest/_types/Processors.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,13 @@ export class AppendProcessor extends ProcessorBase {
333333
*/
334334
field: Field
335335
/**
336-
* The value to be appended. Supports template snippets.
336+
* The value to be appended. Supports template snippets. May specify only one of `value` or `copy_from`.
337337
*/
338-
value: UserDefinedValue | UserDefinedValue[]
338+
value?: UserDefinedValue | UserDefinedValue[]
339+
/**
340+
* The source field to be append. Cannot set `value` simultaneously.
341+
*/
342+
copy_from?: Field
339343
/**
340344
* If `false`, the processor does not append values already present in the field.
341345
* @server_default true

0 commit comments

Comments
 (0)