I wonder how to apply multiple schemas to the same entity. Just to give an example: Let's say we have a typical shoebox application for note taking. Notes can be organized in hierarchical folders.
- For notes the note entity schema makes obviously sense.
- And for folders we need to apply the schema
notes.folder, so this entity type can be used with thecreateNodeandupdateNoteintent schemas. - But, it would also make sense to use the
fileschema for folder entities, as it allows me to use thecreateFolderintent schema ordeleteFile.
Unfortunately, I can only apply one schema to one entity. So I can't declare a folder as note.folder and file.file simultaneously.
I thought about using multiple entity types for the same entity to have somewhat multiple representations, but I can only assign a single app entity identifier to a view.