Skip to content

Commit

Permalink
pass read-unknown-enum-values-as-null: true to object mapper configur…
Browse files Browse the repository at this point in the history
…ation to avoid failing on unknown enum value (for backward compatibility if new enums values will be passed)
  • Loading branch information
ivan-kripakov-m10 committed Nov 7, 2023
1 parent dfb229e commit 35652cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions java/api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ spring:
jackson:
serialization:
indent-output: true
deserialization:
read-unknown-enum-values-as-null: true
datasource-pg:
driver-class-name: org.postgresql.Driver
url: ${POSTGRES_URL:jdbc:postgresql://compreface-postgres-db:5432/frs}
Expand Down

0 comments on commit 35652cc

Please sign in to comment.