Preheat the oven to 350 degrees.
Mix together the shredded chicken, green beans, ⅔ of the cranberries and ⅔ of the pecans in a mixing bowl.
Melt the butter in a saucepan over medium heat.
Add in the onions, and saute until tender.
Mix in the garlic, and saute another 30 seconds.
Stir in the cream cheese until melted.
Pour in the heavy whipping cream, and simmer until the sauce thickens.
Add in the parmesan cheese, and season with salt and pepper to taste.
Pour the sauce over the items in the mixing bowl, and stir to combine well.
Spread the mixture into a well greased 9x13 baking dish, and sprinkle with the remaining cranberries and pecans.
Bake for 20-25 minutes.