Outdated code examples

Vote:
 

Hey Guys,  

Just wanted to bring this to notice, that some of the documentation looks obsolete  depricated now. Example: https://world.episerver.com/documentation/developer-guides/commerce/marketing/custom-promotions/

#203642
Edited, Apr 30, 2019 23:54
Vote:
 

Can you please point out where do you think is obsolete? 

#203645
Apr 30, 2019 20:47
Vote:
 

Hi Quan, I was having a look at the promotion processor example code. While I was looking at the DLL using dot peek; I see the constructors are now different. RedemptionDescriptionFactory is all we need to use in the constructor and also there are quite a few deprecated methods (ExtractEntries, GetMaxRedemptions). 

Also, forgive my english. I meant depricated and not obsolete.

#203652
Edited, May 01, 2019 3:37
Vote:
 

I still don't get it. There is not mention to RedemptionDescriptionFactory in the article. You should not have to worry about the constructors, if you use dependency injection properly then the IoC framework will handle that for you

#203659
May 01, 2019 21:16