cucumber / cucumber/messages-cli
Optimize distribution size
- Dominant language
- Java
- Stars
- 1
- Forks
- 1
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 1
Description
### 🤔 What's the problem you're trying to solve?
While we are creating relatively small images (~30 MB) these could be even smaller (~25MB) )by stripping the debug symbols.
### ✨ What's your proposed solution?
* Debug symbols are used by Jackson to de-serialize json. The names of the constructor parameter of a message are used to map the json to the object.
* We also can't add Jackson annotations to messages, this creates dependency problems.
But perhaps we can our own annotation on messages that informs Jackson what the property order is and add a custom deserializer for that to `messages-ndjson`.
edit: The we can copy the `ParameterNamesModule` and instead of reflection, look for our own annotation.
### ⛏ Have you considered any alternatives or workarounds?
_No response_
### 📚 Any additional context?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.