setting serializableModel to true to implement serilizable for modal classes not working
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
Research direction
Start by reproducing the generator with the supplied config JSON and inspect the generated model classes to confirm whether serializableModel is being recognized. Trace the configuration and model-generation path, then verify that the affected classes implement Serializable when generation completes.
Written by the indexing model from the issue text.
Description
In the config Json, I added serializableModel: true but still classes are not generating with implement serializable. Is there any additional setting need to be done to have all classes implement Serializable interface.
{
"name": "hello",
"version": "0.1.0",
"groupId": "com.hello",
"artifactId": "0.1.0",
"rootPackage": "com.networknt.eventuate.account.command",
"handlerPackage":"com.networknt.eventuate.account.command.handler",
"modelPackage":"com.hello",
"serializableModel": true,
"overwriteHandler": true,
"overwriteHandlerTest": true,
"overwriteModel": true,
"httpPort": 8080,
"enableHttp": false,
"httpsPort": 8443,
"enableHttps": false,
"enableRegistry": false,
"supportOracle": false,
"supportMysql": false,
"supportPostgresql": false,
"supportH2ForTest": false,
"supportClient": false
}
- Dominant language
- Java
- Stars
- 49
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from networknt/light-codegen
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
networknt/light-codegen#350 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
networknt/light-codegen#674 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
networknt/light-codegen#666 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
networknt/light-codegen#616 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
networknt/light-codegen#602 ·
All issues in networknt/light-codegen
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Difficulty 2/5 1-3 hours Newbie friendliness 65/100