Skip to content
New issue

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

Fix javaName breaking required properties #528

Merged
merged 1 commit into from
Mar 13, 2016

Conversation

SpaceBison
Copy link
Contributor

The previous implementation of javaName rule was causing required properties to not be annotated properly (and probably breaking other things). This PR is intended to fix that by better integrating the feature into the project's structure.

javaName is applied now within the NameHelper class so that the other modules can take it into account while resolving generated Java fields. This requires passing the JsonNode of the relevant property to the helper method alongside the property's name. Some of the other modules have been altered to reflect that.

@joelittlejohn joelittlejohn modified the milestones: 0.4.23, 0.4.22 Mar 13, 2016
joelittlejohn added a commit that referenced this pull request Mar 13, 2016
Fix javaName breaking required properties
@joelittlejohn joelittlejohn merged commit a2c538d into joelittlejohn:master Mar 13, 2016
@joelittlejohn
Copy link
Owner

Great, thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants