In previous versions
public class Bar {
@NotBlank
private String foo;
}
generated to
export interface Bar {
foo: string;
}
in 2.2.29 @NotBlank is generated to:
export interface Bar {
foo?: string;
}
which in turn breaks the TypeSript code with error "Type 'string | undefined' is not assignable to type 'string'."
Now I need to add @NotNull to all the @NotBlank annotations in my Java code, it seems to apply to @NotEmpty also.
In previous versions
generated to
in 2.2.29
@NotBlankis generated to:which in turn breaks the TypeSript code with error "Type 'string | undefined' is not assignable to type 'string'."
Now I need to add
@NotNullto all the@NotBlankannotations in my Java code, it seems to apply to@NotEmptyalso.