I suggest you ...

Create a ss-utils.js like library that shares ServiceStack backend Validation Feature rules with AngularJs 4 Reactive Forms

Validation Rules should live in one place.

AN Angular4 component should be able to call myservice/validation and get the validation rules for front-end inline form validation. This has to be the number one most overlooked feature of any framework or stack I have ever seen.

Using the Validation Feature/Fluent Validation rules expressed on the back-end, a standard JSON response could be serialized, using reflection of the back-end POCO models and than sent to AngularJs 4 front-end, that Reactive Forms could ingest.

This front-end library should not have any dependency on jQuery and the focus should be on AngularJs Reactive Forms not AngularJs template forms

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Brian OgdenBrian Ogden shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base