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
Missing hash key: 245_u8 (KeyError)
from /usr/share/crystal/src/hash.cr:0:9 in 'fetch'
from /usr/share/crystal/src/hash.cr:62:5 in '[]'
from lib/mysql/src/mysql.cr:9:7 in 'column_type'
from lib/mysql/src/mysql/result_set.cr:81:13 in 'read'
from lib/db/src/db/result_set.cr:79:15 in 'read'
from src/EveToolsApi/models/item.cr:4:3 in 'set_attributes'
from src/EveToolsApi/models/item.cr:4:3 in 'from_sql'
from lib/granite_orm/src/granite_orm/querying.cr:49:17 in 'raw_all'
from lib/kemal/src/kemal/helpers/helpers.cr:0:3 in '~procProc(Array(EveToolsApi::Models::Item))'
from lib/granite_orm/src/granite_orm/collection.cr:255:3 in 'collection'
from lib/granite_orm/src/granite_orm/collection.cr:0:5 in 'Granite::ORM::Collection(EveToolsApi::Models::Item)'
from lib/granite_orm/src/granite_orm/querying.cr:69:5 in 'first'
from lib/granite_orm/src/granite_orm/querying.cr:68:3 in 'first'
from src/EveToolsApi.cr:42:3 in '__crystal_main'
from /usr/share/crystal/src/crystal/main.cr:11:3 in '_crystal_main'
from /usr/share/crystal/src/crystal/main.cr:112:5 in 'main_user_code'
from /usr/share/crystal/src/crystal/main.cr:101:7 in 'main'
from /usr/share/crystal/src/crystal/main.cr:135:3 in 'main'
from __libc_start_main
from _start
from ???
It will work if i set the column type as text and field type as a string, parse the string as json, but ideally granite should return JSON::Any already without that extra step.
The text was updated successfully, but these errors were encountered:
Granite, as far as I can tell, does not support MySQL JSON data type.
It will work if i set the column type as text and field type as a string, parse the string as json, but ideally granite should return JSON::Any already without that extra step.
The text was updated successfully, but these errors were encountered: