You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is related to #399. On the good news side, just two weeks ago the necessary data model has been implemented (ResourceField.getEmbeddedType). Next step would be to implement this functionality here in ResourceMapper > setAttribute > isIncluded. PR welcome if somebody has time. Otherwise I may find time, but probably not the coming few weeks.
A second step would be to also honor the field set in JpaEntityRepositoryBase.findAll to just query the requested fields from the database rather than query all of them and truncate the result to the client.
Hi, I am trying to use sparse fieldsets on an entity with an embedded object, but the requested attribute is not being included in the response.
Example:
class A {
String a;
String b;
@Embedded
C c;
}
class C {
String d;
}
Filtering with the dot-notation works fine ( &filter[c.d]=foo ), but not the specification of a sparse fieldset: &fields=c.d
The text was updated successfully, but these errors were encountered: