You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In that case the backend could send all notes in a flat list yes, since as you say the author ID is anyway embedded in the notes. The current shape actually just mirrors the datastructure used internally by the backend (ie. I didn't put more thought into it), but changing it is no problem at all!
wowawiwa
changed the title
current-state Event structurecurrent-state event: Change note format
May 18, 2020
Currently, the
current-state
event includes the keynotes: {[clientId: string]: Note[]};
Suggestion:
notes: Note[]
The mapping from clientID isn't needed, as the author is inside the note already and we don't operate by clientID anyway in the frontend.
The text was updated successfully, but these errors were encountered: