Using example from documentation 👍
`
@JsonApiResource(type = "tasks")
public class Task {
@JsonApiId
private String uid;
@JsonApiRelation
private Project project;
...
}
@JsonApiResource(type = "project")
public class Project {
@JsonApiRelation(mappedBy="project")
private Set<Task> tasks;
...
}
`
Calling "/project&include=tasks", tasks will be not be added to response.
Renaming uid to id make it works.