Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-generate data validatiin based on server-side data model #466

Closed
brylie opened this issue Sep 3, 2017 · 1 comment
Closed

Auto-generate data validatiin based on server-side data model #466

brylie opened this issue Sep 3, 2017 · 1 comment

Comments

@brylie
Copy link

brylie commented Sep 3, 2017

I'm submitting a feature request

When designing a client/server application, it would be nice to maintain the data model in only one place, rather than having models defined on both client and server.

Out of curiosity, how might Aurelia ORM definitions be auto-generated from a server codebase, such as Django models?

What would be the general concepts involved in serializing a model definition from a server codebase, and de-serializing/using it in the Aurelia framework?

Current behavior:
Developers have to maintain tow definitions of their application data model.

Expected/desired behavior:
Client-side validators could be auto-generated from a serialized version of the server data model.

  • What is the motivation / use case for changing the behavior?
    To make it easier to maintain a client/server project, including changes, over time.
@jdanyow
Copy link
Contributor

jdanyow commented Oct 5, 2017

#363

@jdanyow jdanyow closed this as completed Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants