The responsibles field for topics is optional with a default value of []. With simple-schema the responsibles were stored as null if none were given. Astronomy stores them as [] if none are given.
Now code my pop up that expects responsibles to be not null but always be an array. To fix this we migrate the database so all topics have at least an empty array of responsibles.
The responsibles field for topics is optional with a default value of
[]. With simple-schema the responsibles were stored asnullif none were given. Astronomy stores them as[]if none are given.Now code my pop up that expects responsibles to be not null but always be an array. To fix this we migrate the database so all topics have at least an empty array of responsibles.