-
Notifications
You must be signed in to change notification settings - Fork 25
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
feature/add-indexes-for-role-models #118
Conversation
Codecov Report
@@ Coverage Diff @@
## main #118 +/- ##
=======================================
Coverage 95.67% 95.67%
=======================================
Files 50 50
Lines 2379 2379
=======================================
Hits 2276 2276
Misses 103 103
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Also, I was thinking if it'd be worth creating some helper method that given some IndexField
's, spits out a set of IndexedFieldSet
with all or multiple permutations of order
to reduce code repetition?
Actually nvm I don't like this idea. I think having the index sets explicitly defined is probably better for a model class, and I'm assuming the exact combinations of order might be specific to the front end so creating them programmatically probably isn't worth the hassle |
Yea. So uhhh, @BrianL3 and I just found more issues in the frontend libraries data models (models were missing entirely) and so I think the general solution still lies in #167 Like just have a giant JSON file that has all of these definitions and then in Python dynamically create them and same in TypeScript. |
Description of Changes
Include a description of the proposed changes.
Was working with Brian to make sure certain parts of the database are queryable for frontend stuff. These aren't needed but are nice to have.