Works only with a patched version o gorm. Now I must work on that project to add the missing functionality required