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
The Rating field in GameFile is typed as double?, but the database field in SQLite is INTEGER. In my tests, the "double" is getting saved to the "INTEGER" column, possibly as a string, thanks to SQLite's loosey-goosey column types, but comes back cast as an Int, thanks to the software layer.
As far as I can tell none of this is used by the real code: when I download a WAD from idgames that has a listed rating, the rating column is still NULL.
Not a biggie, but I'm planning to just ignore the Rating field in the tests.
The text was updated successfully, but these errors were encountered:
The rating is only displayed from idgames but not saved locally. It was intended to be the users rating which can only be integer numbers 1 - 5 and why it is defined as an integer in the sqlite database.
The
Rating
field in GameFile is typed asdouble?
, but the database field in SQLite is INTEGER. In my tests, the "double" is getting saved to the "INTEGER" column, possibly as a string, thanks to SQLite's loosey-goosey column types, but comes back cast as an Int, thanks to the software layer.As far as I can tell none of this is used by the real code: when I download a WAD from idgames that has a listed rating, the rating column is still NULL.
Not a biggie, but I'm planning to just ignore the Rating field in the tests.
The text was updated successfully, but these errors were encountered: