Feature Request: REST DataStore & Dynamic Attributes

Hi Jmix Team,

Konstantin, thank you for your earlier clarification regarding REST DataStore.

I would like to kindly suggest enhancing REST DataStore to support fetching entities along with their dynamic attributes. This feature would greatly simplify cross-service communication and improve flexibility when working with entities in distributed systems.

I understand that this may require planning, but any consideration or guidance on potential future support would be highly appreciated.

Warm regards,
Naveen

Hi Naveen,

Could you please tell us more about your use case? How do you use REST DataStore and Dynamic Attributes in your application?

This will help us choose the right direction.

Regards,
Konstantin

Hi Konstantin,

Thank you for your response.

In our setup, we have two Jmix applications: APP-A and APP-B. APP-A contains the Pet entity with Dynamic Attributes enabled, and APP-B accesses this data using REST DataStore.

For CRUD operations, APP-A publishes the Pet UUID via RabbitMQ, and APP-B consumes the message and retrieves the Pet record from APP-A using that UUID.

The entity is retrieved successfully in APP-B, but the Dynamic Attributes are not included in the response—only the standard fields are returned. However, when we make a direct REST API call with ?dynamicAttributes=true, the Dynamic Attributes are returned correctly.

Could you please advise if there is a recommended way or workaround to retrieve Dynamic Attributes when using REST DataStore?

Kind regards,
Naveen