I am getting this exception, when I am using mongoTemplate.aggregate
API.
Command execution failed: Error [The 'cursor' option is required, except for aggregate with the explain argument].
I am using sprig-data api version - 1.10.7. Is this version compatible with mongo v3.6.0 OR do i need to upgrade the spring-data API as well?