Skip to content

Commit

Permalink
fixed serialization issues on event sync
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsilaghi committed Apr 17, 2024
1 parent 9e4adb0 commit e3c7a78
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>edu.stanford.protege</groupId>
<artifactId>webprotege-common</artifactId>
<version>0.9.5</version>
<version>0.9.6</version>

<parent>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package edu.stanford.protege.webprotege.common;

import com.fasterxml.jackson.annotation.JsonTypeInfo;

import javax.annotation.Nonnull;

/**
Expand All @@ -9,6 +11,10 @@
*
* An {@link Event} that is specific to a Project.
*/

@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME
)
public interface ProjectEvent extends Event {

@Nonnull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.google.auto.value.AutoValue;


import javax.annotation.Nonnull;
import javax.annotation.Nullable;

@AutoValue

@JsonTypeName(ShortForm.SHORT_FORM)
public abstract class ShortForm {

public static final String DICTIONARY_LANGUAGE = "dictionaryLanguage";
Expand Down

0 comments on commit e3c7a78

Please sign in to comment.