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
While using something like Collection.gather(Task, sources, fetchedTasks$, 'uid') , I have to make sure fetchedTasks$ has objects where the property item is actually named item$. No idea why. This requires me to use a transformer like this:
functioncrazyHack(subCols: Stream<SubForCollection[]>): Stream<any>{returnsubCols.map(scs=>scs.map(sc=>{return{// For some reason, Collection wants submission to// be named submission$submission$: sc.submission,submission_id: sc.submission_id};}))
I then call e.g., Collection.gather(Task, sources, crazyHack(fetchedTasks$), 'uid').
This happened during an automatic refactor of naming submission to the more appropriate submission$ and took me hours to find, so I would advocate removing this dependence if possible.
The text was updated successfully, but these errors were encountered:
While using something like
Collection.gather(Task, sources, fetchedTasks$, 'uid')
, I have to make surefetchedTasks$
has objects where the property item is actually named item$. No idea why. This requires me to use a transformer like this:I then call e.g.,
Collection.gather(Task, sources, crazyHack(fetchedTasks$), 'uid')
.This happened during an automatic refactor of naming submission to the more appropriate
submission$
and took me hours to find, so I would advocate removing this dependence if possible.The text was updated successfully, but these errors were encountered: