snazy commented on code in PR #2236: URL: https://github.com/apache/polaris/pull/2236#discussion_r2248415949
########## polaris-core/src/main/java/org/apache/polaris/core/storage/aws/AwsStorageConfigurationInfo.java: ########## @@ -18,95 +18,37 @@ */ package org.apache.polaris.core.storage.aws; -import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.google.common.base.MoreObjects; -import jakarta.annotation.Nonnull; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; import jakarta.annotation.Nullable; import java.net.URI; -import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.polaris.core.storage.PolarisStorageConfigurationInfo; +import org.apache.polaris.immutables.PolarisImmutable; /** Aws Polaris Storage Configuration information */ -public class AwsStorageConfigurationInfo extends PolarisStorageConfigurationInfo { +@PolarisImmutable +@JsonSerialize(as = ImmutableAwsStorageConfigurationInfo.class) +@JsonDeserialize(as = ImmutableAwsStorageConfigurationInfo.class) Review Comment: That's what this does: https://github.com/apache/polaris/pull/2236/files#diff-e9e9e1bdd177e9b8955b8ba6eed2c45ebc7779d0750425b2d350024857f227d2R42 -- 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: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org