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
For example, the generated builder for the following pojo is not correct:
@GeneratePojoBuilder(withOptionalProperties = Optional.class) public class Pojo { public Number value; }
The optional-with-method "withValue" should have the following signature: public PojoBuilder withValue(Optional<? extends Number> value)
public PojoBuilder withValue(Optional<? extends Number> value)
but has: public PojoBuilder withValue(Optional<Number> value)
public PojoBuilder withValue(Optional<Number> value)
This is similar to #115
The text was updated successfully, but these errors were encountered:
Use '? extends Type' for properties using optional. Fixes mkarneim#123
db3aed1
Nice!
Sorry, something went wrong.
Merge pull request #124 from Adrodoc55/master
9bfc538
Use '? extends Type' for properties using optional. Fixes #123
No branches or pull requests
For example, the generated builder for the following pojo is not correct:
The optional-with-method "withValue" should have the following signature:
public PojoBuilder withValue(Optional<? extends Number> value)
but has:
public PojoBuilder withValue(Optional<Number> value)
This is similar to #115
The text was updated successfully, but these errors were encountered: