cardano-foundation / cardano-foundation/cardano-rosetta-java

ObjectMapper managed by Spring's context

Open
#297 0 comments 0 reactions 0 assignees View on GitHub
needs review Non Functional Requirement Tech Excellence
Dominant language
Java
Stars
26
Forks
15
Avg merge
5d 3h
Merged PRs (30d)
2

Description

Jackson's Object Mapper in the project is not managed by Spring context, which leads to a bit of a chaos where ObjectMapper is instantiated in multiple places. It is not so much a concern of memory usage but rather lack of predictability and chaos, which can lead to subtle bugs or difficulty to explain certain behaviour.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating all ObjectMapper instantiations and the Spring configuration, then trace how each mapper is obtained and configured. Done means the project consistently uses one Spring-managed ObjectMapper and relevant behavior remains covered by the existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.