You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I mark a column as disabled: true I would expect the library to trust that I know what data this column will have, because that data is under my control and not the users control.
In my Row types, I would like to type this column as "string" and not "string|nil".
However, ATM the textColumn will error
Argument of type 'Partial<Column<string | null, TextColumnData<string | null>, string>>' is not assignable to parameter of type 'Partial<Column<string, any, string>>'.
Suggestion:
The textColumn should learn about the disabled:true and allow to omit the nil.
Example:
I have an id column which I fill with the id of my Database and a fallback value in createRow. This way I can make sure the id is always given. It is also a quick way to group the updates in new rows vs. rows that need an update.
The text was updated successfully, but these errors were encountered:
When I mark a column as
disabled: true
I would expect the library to trust that I know what data this column will have, because that data is under my control and not the users control.In my Row types, I would like to type this column as "
string
" and not "string|nil
".However, ATM the
textColumn
will errorSuggestion:
The
textColumn
should learn about thedisabled:true
and allow to omit thenil
.Example:
I have an
id
column which I fill with theid
of my Database and a fallback value increateRow
. This way I can make sure theid
is always given. It is also a quick way to group the updates in new rows vs. rows that need an update.The text was updated successfully, but these errors were encountered: