Skip to content

Commit

Permalink
Fix left-over TODO from content-metadata PR (#6759)
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed May 6, 2023
1 parent b457643 commit 9910fe2
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.fasterxml.jackson.annotation.JsonView;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.List;
import javax.annotation.Nullable;
import org.immutables.value.Value;
import org.projectnessie.model.ser.Views;
Expand Down Expand Up @@ -68,7 +69,14 @@ public interface MergeKeyBehavior {
@jakarta.annotation.Nullable
Content getResolvedContent();

// TODO add metadata list from https://github.com/projectnessie/nessie/pull/6616
/**
* Additional information about the operation and/or content object. If and how a Nessie server
* uses and handles the information depends on the server version and type of metadata (called
* variant).
*/
@JsonInclude(Include.NON_EMPTY)
@JsonView(Views.V2.class)
List<ContentMetadata> getMetadata();

static ImmutableMergeKeyBehavior.Builder builder() {
return ImmutableMergeKeyBehavior.builder();
Expand Down

0 comments on commit 9910fe2

Please sign in to comment.