November Happy Hour will be moved to Thursday December 5th.

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 18:48
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, Apr 30, 2019 23:53
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
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.