davsclaus commented on PR #26740:
URL: https://github.com/apache/camel/pull/26740#issuecomment-5775599594

   Took the first option: the five-argument `McpFacade.writeFile` is gone, the 
remaining four-argument one always validates and carries the Javadoc, and 
`TuiToolRegistry.callWriteFile` calls it directly. Its refusal message also 
lost the "(validate=false writes it anyway)" sentence, which the shared tool 
had already lost.
   
   `McpFacadeWriteFileTest` is renamed to `invalidContentIsNeverWritten`; a 
later assertion in it expected the file to hold the invalid content the bypass 
used to write, and now asserts the file still holds what it had before the 
refused write. The 171 tests of camel-jbang-plugin-tui pass.


-- 
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]

Reply via email to