korlibs / korlibs/korge

Suggestion: Make ObjectMapper open

Open
#680 11 comments 0 reactions 0 assignees View on GitHub
cleanup
Dominant language
Kotlin
Stars
3k
Forks
148
Avg merge
13h 44m
Merged PRs (30d)
1

Description

Greeting,

May I suggest we make ObjectMapper open? This way, we can create mappers for our games using inheritance:

```
class MyGameMapper: ObjectMapper() {
init {
registerType(....)
// .....
}
}
```

Thanks for the consideration!

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the repository for the ObjectMapper definition and inspect its current declaration and usages. Confirm that the requested inheritance example can work without changing existing mapper behavior, then run the relevant project tests to verify the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.