magento / graphql-ce

[ARCHIVED] Please use magento/magento2 project
https://github.com/magento/magento2
Open Software License 3.0
131 stars 156 forks source link

[FEATURE] Added resolveRoute support (which is equal to Router for th… #956

Closed lewisvoncken closed 5 years ago

lewisvoncken commented 5 years ago

…e routerList implementation)

This is a new PR according to https://github.com/magento/graphql-ce/pull/939#issuecomment-533641652

Description (*)

I want to implement the customUrlLocator functionality for Mage2gen. I have taken a look at several blog modules and these even't implemented url_rewrites but a custom router. https://github.com/krukas/Mage2Gen/pull/305

In the attachment there is an example module which has implemented the customUrlLocator. Mage2gen_BlogGraphQl.zip

image

image

image

Contribution checklist (*)

lenaorobei commented 5 years ago

Hi @lewisvoncken,

Since your changes introduce new interfaces and add new fields to the schema it needs to be transparently reviewed and approved by architecture team in the https://github.com/magento/architecture repo.

Please submit PR with proposed changes in this repo first. Example: https://github.com/magento/architecture/pull/289

Thanks.

lenaorobei commented 5 years ago

Hi @lewisvoncken,

Did you had a chance to create architecture proposal? Unfortunately we will not be able to move forward without it.

Thanks.

lewisvoncken commented 5 years ago

@zetlen can you confirm that this covers your feature request?

lenaorobei commented 5 years ago

As per discussion with @zetlen I will have to close this PR since it conflicts with architecture’s choices. Please feel free to open schema proposal in the architecture repo https://github.com/magento/architecture

ghost commented 5 years ago

Hi @lewisvoncken, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.