collado-mike commented on code in PR #2518:
URL: https://github.com/apache/polaris/pull/2518#discussion_r2392305192


##########
polaris-core/src/main/java/org/apache/polaris/core/persistence/dao/entity/CreatePrincipalResult.java:
##########
@@ -67,10 +71,22 @@ private CreatePrincipalResult(
     super(returnStatus, extraInformation);
     this.principal = principal;
     this.principalSecrets = principalSecrets;
+    validate();

Review Comment:
   Thanks. This did come up some time ago in a mailing list thread and in a 
community discussion - all of the `PolarisMetaStoreManager` return types are 
annotated with Jackson annotations to support HTTP-based implementations of the 
`PolarisMetaStoreManager` interface. I did promise to submit an implementation 
so that we can run tests that validate everything still works for distributed 
environments, but... I haven't yet... 😅



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