akkurate icon indicating copy to clipboard operation
akkurate copied to clipboard

Explore the idea of field-level validation

Open jadar opened this issue 10 months ago • 3 comments

I realize Akkurate has the scope of object-level validation. I think this makes a lot of sense for servers that are validating complete objects they are receiving over the network. However, in a mobile or web app, more granularity is expected from the user. For example, running a validation on a text field once they've inputted a value and click away from the box. This sort of "fail fast" method is one of the strengths of reactive web applications and mobile apps. Akkurate has both multiplatform support and expressive validations — it would be cool if it could support this more granular use-case, while also supporting the object-level validation once the user clicks "Submit".

jadar avatar Jan 18 '25 00:01 jadar

This is clearly something I have in mind since the origins of Akkurate, I want to provide something like that in the future :) However, this isn't a priority at the moment, it will take some time.

nesk avatar Jan 21 '25 13:01 nesk

Understood. I wouldn't mind contributing to something like that. If you had an API in mind, I would be interested in seeing it.

jadar avatar Jan 21 '25 15:01 jadar

Unfortunately no, I currently don't have any API in mind 😅

nesk avatar Jan 22 '25 12:01 nesk