A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Let me correct myself, i was looking at version 9 documentation.
However, why is state not exposed?
It's RegionName/RegionCode :)
We probably need better documentation for that
Hi Quan,
I saw this when I was going through and making some changes from the OrderAddress over to IOrderAddress and I'm curious if there is a "simple" way of moving over the data from the State column to the RegionName/RegionCode fields? I'm guessing a job would have to be created or running a query in the database, but thought I would ask first.
Thank you,
Kevin Larsen
When you change from OrderAddress to IOrderAddress, it is just a change in abstraction APIs. the underlying data would still be the same so nothing to worry about.
Can someone answer why State is not exposed via the IOrderAddress interface even though it's in the documentation?
https://world.episerver.com/documentation/Class-library/?documentId=commerce/9/884FA456
Yes, I could cast to OrderAddress but why?