Skip to content

Commit

Permalink
Add "reference" transforms for object types
Browse files Browse the repository at this point in the history
These are applied to all types using the
`convertToMultiNamespaceTypeVersion` field when defining any object
type. Any time the Kibana version is changed, all reference
transforms for applicable versions are applied, and all documents'
`referencesMigrationVersion` fields are updated to match the Kibana
version.
  • Loading branch information
jportner committed Nov 30, 2020
1 parent d607c0f commit 73957ff
Show file tree
Hide file tree
Showing 17 changed files with 524 additions and 75 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ function defaultMapping(): IndexMapping {
},
},
},
referencesMigrationVersion: {
type: 'keyword',
},
},
};
}
Expand Down
Loading

0 comments on commit 73957ff

Please sign in to comment.