You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated Java classes do not include the version numbers for any objects. I'm not sure if this is a bug or limitation of Java as a language.
Context
This is an example class of generated code
// this code is generated and should not be modified
package company.platform.example;
import com.fasterxml.jackson.annotation.*;
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, property = "$class")
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
public class ExampleClass extends ParentClass {
// the accessor for the identifying field
public String getID() {
return this.getId();
}
}
Because of this bug we have opted not to use concerto codegen. Injecting the version info manually using Jackson is complicated and removes a lot of the value of codegen.
Your Environment
Version used:
Environment name and version (e.g. Chrome 39, node.js 5.4):
Operating System and version (desktop or mobile):
Link to your project:
The text was updated successfully, but these errors were encountered:
The generated Java classes do not include the version numbers for any objects. I'm not sure if this is a bug or limitation of Java as a language.
Context
This is an example class of generated code
Expected Behavior
The output I expect for the class value is
Actual Behavior
The actual value is
Possible Fix
Could this be a limitation of the Java language preventing the codegen from including version numbers?
Steps to Reproduce
Existing issues
Context
Because of this bug we have opted not to use concerto codegen. Injecting the version info manually using Jackson is complicated and removes a lot of the value of codegen.
Your Environment
The text was updated successfully, but these errors were encountered: