|
ok. We did/are exploring the idea of passing context tobuild the error message itself but that would not be sufficient for you as you want additional info so that say the incorrect word is highlighted via css or something like that. This would require some metadata but also a deep collaboration between:
-
the constraint validator implementation
-
the constraint violation serializer (say into some JSON)
-
the client display logic
|