-
Notifications
You must be signed in to change notification settings - Fork 117
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
Refactor type/expandable/preventSelection computation #10051
Comments
I'm ok with moving forward with using |
seems like we have to add the mime type to |
I'm looking at |
|
Listing out where the
I may have missed a few locations but overall choosing correctly between database and the other ones seems quite important, and seems hard to do without relying on the mime type. |
What about doing Node table = ContentNode database, then adapting using mimetype where necessary? IMO to sort it out we should clarify semantics. What does it mean that a node is of type table => it means it have an entry in tables and is table-queryable. It should be the same for content node database. In cases in which we use the database type for something else, then we should not use the type at all.
yeah no need to add it (just ignore in the diff) |
I think that'd be best indeed, it's much easier to understand and better rationalized. |
thanks! |
Depends on https://github.com/dust-tt/tasks/issues/1938 |
PreventSelection + expandable have been taken care of |
See discussion in #10043
First step is design: can we make it so those are not computed bluntly from mimetype in a principled manner?
The text was updated successfully, but these errors were encountered: