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

Complete revamp #51

Draft
wants to merge 84 commits into
base: main
Choose a base branch
from
Draft

Complete revamp #51

wants to merge 84 commits into from

Conversation

WhyAsh5114
Copy link
Contributor

@WhyAsh5114 WhyAsh5114 commented Nov 16, 2024

Moving to multi-class approach

To support relations, we can't re-use a base class for all the models, at least not with my current TypeScript skills.

Performance issues

Moving to individual classes for each model, this does take up quite some time to generate (~2s) even for small schemas, maybe this is due to using Node to write files, or I wrote terrible code (probably I wrote terrible code), but its something I'm willing to sacrifice for now till the complete API with relations and schema features can be implemented through IDB.

API progress

Model queries

Model query options

Nested queries

Filter conditions and operators

Relation filters

Scalar list methods

Scalar list filters

Atomic number operations

and a big default model with lots of default fields for testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant