alechenninger / lightblue-applications

GNU General Public License v3.0
0 stars 0 forks source link

Use angular form validation #10

Open alechenninger opened 9 years ago

alechenninger commented 9 years ago

This might help clean up some of the ugliness talked about in #9. That is, use some combination of angular parsers, formatters, and validators to take care of the "intermediate" state where the model is invalid.

alechenninger commented 9 years ago

JSON schema can even be validated directly against lightblue's request schemas

From http://json-schema.org/implementations.html, these library's could be used to validate the schema

Lightblue data request schemas:

alechenninger commented 9 years ago

It might be nice to request the schemas from the lightblue instance, rather than hardcode them inside the app. See: https://github.com/lightblue-platform/lightblue-core/issues/210