davsclaus commented on code in PR #29836:
URL: https://github.com/apache/camel/pull/29836#discussion_r4587199664
##########
components/camel-openfga/src/main/java/org/apache/camel/component/openfga/OpenFgaEndpoint.java:
##########
@@ -142,6 +142,19 @@ protected void doStart() throws Exception {
* decision and is a thoroughly misleading thing to debug.
*/
private void validateOperationOptions() {
+ if (operation == OpenFgaOperation.batchCheck) {
+ if (configuration.getBatchCheckMode() == null) {
Review Comment:
Fixed: the null guard is gone, `validateOperationOptions` now checks
`configuration.getBatchCheckMode() == OpenFgaBatchCheckMode.server`
(OpenFgaEndpoint.java:145).
_Claude Code on behalf of davsclaus_
##########
components/camel-openfga/src/main/java/org/apache/camel/component/openfga/OpenFgaEndpoint.java:
##########
@@ -142,6 +142,19 @@ protected void doStart() throws Exception {
* decision and is a thoroughly misleading thing to debug.
*/
private void validateOperationOptions() {
+ if (operation == OpenFgaOperation.batchCheck) {
Review Comment:
Fixed with the same change (OpenFgaEndpoint.java:145).
_Claude Code on behalf of davsclaus_
--
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]