bito-code-review[bot] commented on PR #16154: URL: https://github.com/apache/grails-core/pull/16154#issuecomment-5304285953
<!-- Bito Reply --> The observation regarding the test stubbing is correct. In RxGORM, reactive query methods return an `Observable` (or similar reactive type), and stubbing `Query.singleResult()` to return a domain instance directly bypasses the reactive contract. This can indeed mask integration issues where the code expects a reactive stream rather than a synchronous result. To address this, the test should be updated to return an `Observable` that emits the domain instance, ensuring the test exercises the reactive flow as it would in a real application. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
