Hi Team, I have picked Issue: Add documentation and improved errors for QueryFn in MongoDbIO #21005 Did some initial analysis on code and came up with the solution below ; 1. For documentation it's straightforward to add classes that the method can handle so i will be adding 2 classes that withQueryFn can handle. 2. For the split() method I am thinking of adding one check for if the object is AggregationQuery similar to FindQuery. Will have an "else" condition that will throw an exception saying "unknown type".
Let me know if I am going in the correct direction. Thanks & Regards, Asmita