Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Faizal Vasaya

    Our team has been planning to use ng-form-rules for the below mentioned scenario.

    1. Publish a library with default model settings and models. (using Registered model settings)
    2. Certain applications might want to extend the default model and model settings.
    3. Certain applications might want to override the default model settings, keeping the model same.

    By extending we mean to say, adding a new property to an existing ModelSettings and creating a new FormGroup out of it.
    By overriding we mean to say, editing the test, condition rules, check rule, edit test of an existing property and creating a new FormGroup out of it.

    What we want to achieve is to encapsulate is the business logic behind long forms and provide the flexibility to different angular projects to have their own template.
    Also, in order to create tests we are planning to leverage @angularlicious/rules-engine to write maintainable action based rules.

    Are we on the right track ?