justinmclean commented on PR #5836: URL: https://github.com/apache/gravitino/pull/5836#issuecomment-2540437136
One possible way is to make subclass commands for each entity, as the validation for each entity type is the same. That I think, would reduce the duplication, but there might be something I'm missing. Let's try doing it at the handleXXXCommand layer and see what it looks like. -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org