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

Object based data models #1903

Closed
6 tasks
platosha opened this issue Dec 19, 2023 Discussed in #1634 · 0 comments · Fixed by #2535
Closed
6 tasks

Object based data models #1903

platosha opened this issue Dec 19, 2023 Discussed in #1634 · 0 comments · Fixed by #2535
Labels
enhancement New feature or request Epic

Comments

@platosha
Copy link
Contributor

Discussed in #1634

Following the aforementioned RFC and the discussion, let us replace the class-based models with the object based design.

This is a big change. I would suggest to break it down onto steps, roughly:

  • Add a separate package packages/ts/model with the model primitives and builder APIs.
  • Add a generator plugin to emit models in the object-based format, which would initially coexisting with the class-based models.
  • Update the form and react-form libraries to use the object-based models.
  • Update the CRUD helpers to use the object-based models.
  • Remove the class-based models generator.
  • Update documentation and example apps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Epic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant