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

#225 - Add system property for annotation JsonApiLookupIncludeAuto #226

Merged
merged 7 commits into from
Nov 21, 2016

Conversation

mitch2na
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 90.873% when pulling 80d32c4 on 225 into d847aa9 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 90.927% when pulling 2a8b980 on 225 into d847aa9 on develop.

@mitch2na mitch2na merged commit 71ef9a5 into develop Nov 21, 2016
moduleRegistry.addModule(module);
}

private void setupRepository(SimpleModule module, Object repository) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method looks really bad. Can we do something about it?

* @return list of all loaded properties. Collections are flattened into a single collection.
*/
@SuppressWarnings({"unchecked", "rawtypes"})
private Set loadRelationships(ResourceInformation resourceInformation, List resources, ResourceField relationshipField,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please split this method into several smaller with proper names.

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.

3 participants