I think magic and the level of technology in the setting differentiate it from the middle ages. It's more early renaissance but you can't directly compare it to our own history. Usually it's only low magic fantasy settings (like GoT or LOTR) that tend to approximate the early middle ages.