Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Conversation

@RakeshJesadiya
Copy link
Contributor

Example of the declare proxy class from the core code.

Purpose of this pull request

This pull request (PR) adds the live example of how to add proxy class using di.xml file in Magento 2.

Affected DevDocs pages

https://devdocs.magento.com/guides/v2.3/extension-dev-guide/proxies.html
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/proxies.html

Example of the proxy class from the core code.
@RakeshJesadiya
Copy link
Contributor Author

@hguthrie I have updated the changes as per your request. Thank you.

Copy link
Contributor

@hguthrie hguthrie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell, it looks good. I will find someone to double-check. Thanks for the contribution.

Copy link
Contributor

@hguthrie hguthrie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After asking someone internal, looks like it needs a little tweak.
@BarnyShergold Would you like to review this updated example?

@RakeshJesadiya
Copy link
Contributor Author

@hguthrie I have updated the changes. Thank you.

@hguthrie hguthrie added 2.3.x Magento 2.3 related changes 2.4.x Magento 2.4.x related changes Technical Updates to the code or processes that alter the technical content of the doc labels Dec 22, 2020
@hguthrie
Copy link
Contributor

running tests

@hguthrie hguthrie merged commit 1d4bf8c into magento:master Dec 22, 2020
@ghost
Copy link

ghost commented Dec 22, 2020

Hi @RakeshJesadiya, 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

2.3.x Magento 2.3 related changes 2.4.x Magento 2.4.x related changes Partner: EY partners-contribution PR created by Magento partner Progress: approved Technical Updates to the code or processes that alter the technical content of the doc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants