Skip to content

Commit

Permalink
Fixed deserialization of CorporateBody
Browse files Browse the repository at this point in the history
  • Loading branch information
clorenz committed Aug 22, 2022
1 parent 3bd345b commit c855ddd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [11.0.1](https://github.com/dbmdz/digitalcollections-model/releases/tag/11.0.0) - 2022-08-22

### Changed

- Fixed deserialization of `CorporateBody`

## [11.0.0](https://github.com/dbmdz/digitalcollections-model/releases/tag/11.0.0) - 2022-07-18

### Added
Expand Down
2 changes: 1 addition & 1 deletion dc-model-jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>de.digitalcollections.model</groupId>
<artifactId>dc-model-parent</artifactId>
<version>11.0.0</version>
<version>11.0.1</version>
</parent>

<name>DigitalCollections: Model (Jackson)</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import de.digitalcollections.model.identifiable.entity.Project;
import de.digitalcollections.model.identifiable.entity.Topic;
import de.digitalcollections.model.identifiable.entity.Website;
import de.digitalcollections.model.identifiable.entity.agent.CorporateBody;
import de.digitalcollections.model.identifiable.entity.geo.location.GeoLocation;
import de.digitalcollections.model.identifiable.entity.work.Expression;
import de.digitalcollections.model.identifiable.entity.work.Item;
Expand All @@ -28,6 +29,7 @@
// IdentifiableObjectType) for deserializing:
@JsonSubTypes.Type(value = Article.class, name = "ARTICLE"),
@JsonSubTypes.Type(value = Collection.class, name = "COLLECTION"),
@JsonSubTypes.Type(value = CorporateBody.class, name = "CORPORATE_BODY"),
@JsonSubTypes.Type(value = DigitalObject.class, name = "DIGITAL_OBJECT"),
@JsonSubTypes.Type(value = Entity.class, name = "ENTITY"),
@JsonSubTypes.Type(value = Expression.class, name = "EXPRESSION"),
Expand Down
2 changes: 1 addition & 1 deletion dc-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>de.digitalcollections.model</groupId>
<artifactId>dc-model-parent</artifactId>
<version>11.0.0</version>
<version>11.0.1</version>
</parent>

<name>DigitalCollections: Model (Model)</name>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>de.digitalcollections.model</groupId>
<artifactId>dc-model-parent</artifactId>
<version>11.0.0</version>
<version>11.0.1</version>
<packaging>pom</packaging>

<modules>
Expand Down

0 comments on commit c855ddd

Please sign in to comment.