magento / architecture

A place where Magento architectural discussions happen
275 stars 155 forks source link

PWA-1487: additional schema definition for routable interface #476

Open cpartica opened 3 years ago

cpartica commented 3 years ago

Problem

By deprecating urlResolver we need to make sure that we can get the same data from Routable Interface It turns out that we're missing some basic functionality that urlResolver provided, and it's not provided through Routable Interface

Solution

We need to add to Routable Interface two fields: relative_url and redirectCode to know if the requested URL was a redirect or not as it contains code useful for SEO, like permanent or temporary redirect.

Requested Reviewers