Is there any way to include a user's authentication uid in a model adapter's path? For example, suppose you have a chat application, and a conversation
model to represent a private message session between two users, where the data is stored something like this:
{
"conversations": {
"<userAuthUID>": {
"convo1": {...},
"convo2": {...},
...
},
"<anotherUserAuthUID>": {
...
}
}
}
So, with this structure, the adapter's path would need to be conversations/<currentUserAuthUID>
.
(FYI this is an ember-cli project, if that makes any difference.)