Dynamic Attribute Validation Not Working via REST API (Required / Min / Max)

Hi Team,

I’m currently working with Jmix Dynamic Attributes and facing an issue with validations when using the REST API .

Problem

Dynamic attribute validations such as:

  • required
  • min
  • max

are not being enforced when data is saved via REST API .

Hello!

Sorry for the late reply.
Dynamic attribute validation is applied to UI scope only. I’ve created the issue to state it explicitly in docs and another issue to implement dynamic attribute validation in Entities API.

Currently, if you need dynamic attribute validation in the REST API, you will need to use custom endpoints with manual validation.

Regards,
Dmitry