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
[SEVERE] floor_generator on lib/db/db.dart:
Column type is not supported for T?.
package:easy_table/bean/chat_message.dart:21:6
╷
21 │ T? content;
│ ^^^^^^^
╵
Code bean
abstract class Message<T> {
int time;
String? role;
T? content;
}
@JsonSerializable()
@Entity(
tableName: TABLE_CHAT_MESSAGE,
indices: [
Index(value: ['pageUid'])
],
)
class TextMessage extends Message<String>{
List<ToolCall>? tool_calls;
}
Code db
@Database(version: DB_VERSION, entities: [TextMessage])
@TypeConverters([])
abstract class DB extends FloorDatabase {
....
}
The text was updated successfully, but these errors were encountered:
taosimple
changed the title
Generic type is not support in class bean ?
Generic type is not support in bean class?
Dec 27, 2024
taosimple
changed the title
Generic type is not support in bean class?
Generic type is not support in entity?
Dec 27, 2024
build Error:
Code bean
Code db
The text was updated successfully, but these errors were encountered: