Skip to content

Commit

Permalink
Sharing Saved Objects developer guide: Step 4
Browse files Browse the repository at this point in the history
This step demonstrate the changes to update the saved object type
registration, which will cause this isolated object type to be converted
to become share-capable during the 8.0 upgrade process.

Note: the previous steps can be backported to 7.x, but this step cannot
be backported, because the conversion cannot take place before 8.0.
  • Loading branch information
jportner committed Jul 30, 2021
1 parent 435ea49 commit d3fcabe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/plugins/notes_test/server/saved_objects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ const noteSavedObjectType: SavedObjectsType<NoteAttributes> = {
getTitle: ({ attributes }) => attributes.subject,
},
mappings: { dynamic: false, properties: {} },
namespaceType: 'single',
namespaceType: 'multiple-isolated',
convertToMultiNamespaceTypeVersion: '8.0.0',
};

0 comments on commit d3fcabe

Please sign in to comment.