[Problem/Question]
when I am trying to add queryCreator to include parentMessage and reactions, the app is getting crashed on the chat screen with createGroupChannelFragment
[Reproduction Steps]
const GroupChannelListFragment = createGroupChannelFragment()
//TRIAL-1: tried this not working
const query = PreviousMessageListQuery();
query.includeParentMessageInfo:true
query.includeParentMessageInfo: true
//TRIAL-2: tried this not working
const customQuery = {
query.includeParentMessageInfo:true
query.includeParentMessageInfo: true
return query
}
<GroupChannelListFragment
channel={activeChannel}
//TRIAL-1:
// queryCreator={customQuery }
//TRIAL-2
// queryCreator={query }
//TRIAL-3
// queryCreator={
// new PreviousMessageListQuery({
// limit: 30,
// includeReactions: true,
// includeParentMessageInfo: true,
// })
// }
//render item
renderMessage={({message}) => {
return <RenderItem message={message}/>
);
}}
/>;
[Frequency]
everytime - high