magento / magento2-pwa

Other
15 stars 13 forks source link

General question about this project in relation with main Magento2 project #7

Open joggienl opened 1 year ago

joggienl commented 1 year ago

The general Magento2 GraphQL DevDocs describes several places where something is "PWA Studio Only". Wondering, why can't this be part of the "default" Magento2 installation? Why have this separate?

A query like recaptchaV3Config is useful for all headless like projects.

Also, since Magento 2.4.5 (or maybe even 2.4.4) the products query gives deprecation warnings for multiple fields on a product. It says something like this:

"Contains fields that are common to all types of products."
interface ProductInterface {
    "...."
    some_custom_attribute: String @deprecated(reason: "Use the `custom_attributes` field instead.")
    "...."
}

This is visible in the main mageno2 instance. To be able to use custom_attributes you need to install the module from this project (I suppose).

It is a bit confusing, or I am missing documentation about this?

Thanks!