We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take for example this (partial) schema, where the root type has a field that’s a list of element of another generated type:
{ …, "types": [ { "name": "Root", "description": "The table’s root type", "fields": [ { "name": "id", "dynamoName": "id", "description": "The hash key", "type": "String" }, { "name": "listOfGenerated", "dynamoName": "logen", "type": "List", "elementType": "GeneratedListElement" } ] }, { "name": "GeneratedListElement", "fields": [ { "name": "foo", "dynamoName": "foo", "type": "String" } ] } ] }
The generated RootBean class will have the following annotated member variable, where the argument to the annotation contains invalid syntax:
RootBean
@JsonDeserialize(as=List<GeneratedListElement>Bean.class) private List< GeneratedListElement> listOfGenerated;
This invalid code is generated by line 42 of bean.ftl (as of current master, 952ed0e):
@JsonDeserialize(as=<@field_type field=field />Bean.class)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Take for example this (partial) schema, where the root type has a field that’s a list of element of another generated type:
The generated
RootBean
class will have the following annotated member variable, where the argument to the annotation contains invalid syntax:This invalid code is generated by line 42 of bean.ftl (as of current master, 952ed0e):
The text was updated successfully, but these errors were encountered: