elnafateh commented on PR #5773:
URL: https://github.com/apache/fineract/pull/5773#issuecomment-4294344599
@vidakovic the shared POST
/transfers/loans/{loanId}?command=sale|buyback|intermediarySale endpoint makes
it difficult to apply Jakarta Validation cleanly since each command has
different required fields.
Am thinking options:
(1) keep the shared endpoint and use a class-level custom validator,
(2) split into separate endpoints per operation for cleaner validation,
maintaining backward compatibility by keeping the old endpoint as deprecated.
what do u prefer? Or is there any other way around?
--
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]