• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

algolia / algoliasearch-client-java-2 / 1141
79%
master: 77%

Build:
Build:
LAST BUILD BRANCH: missing-params-v2
DEFAULT BRANCH: master
Ran 10 Jul 2019 09:18AM UTC
Jobs 1
Files 189
Run time 14s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1141

Pull #598

travis-ci

web-flow
fixed(synonym): handle deserialization of lowercase variant of synonym types

Synonyms saved through the Algolia dashboard see their types stored as
lowercase. Jackson not being able to deserialize lowercase enums and
keys into their upper-case or mixed-case counterparts, retrieving
synonyms that were saved from the dashboard made implementations crash.

This commit adds new package-private interface to list all lowercase
variants of the synonym types and use them as JsonSubTypes annotations
of the AbstractSynonym class.

Note that we considered using ACCEPT_CASE_INSENSITIVE_PROPERTIES
MapperFeature from jackson-databind but this needs to be set globally at
the ObjectMapper's level, which we do not want.

Close #597
Pull Request #598: fixed(synonym): handle deserialization of lowercase variant of synonym types

3353 of 4220 relevant lines covered (79.45%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1141.1 (JAVA_VERSION=8) 10 Jul 2019 09:18AM UTC 0
79.45
Travis Job 1141.1
Source Files on build 1141
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1141
  • Pull Request #598
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc