https://www.crnk.io/releases/stable/documentation/#_jsonapirelation
What is the need of @JsonApiRelationId as I see no difference without using it?
https://www.crnk.io/releases/stable/documentation/#_jsonapirelation
What is the need of @JsonApiRelationId as I see no difference without using it?
Copyright © 2021 Jogjafile Inc.
You can use
@JsonApiRelationIdinstead of@JsonApiRelationwhen you just need to perate on ID, not on the entire related resource, or when the id of related resource can be obtain much cheaper then full resource.Both could look like this: