-
Notifications
You must be signed in to change notification settings - Fork 9.4k
GraphQL documentation contains fields that are not defined in the schema #39821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @DuckThom. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-November. Thank you for working on this issue.
|
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @DuckThom, Thanks for the report and collaboration! All the above mentioned fields Please let us know if you still having any issues. Thanks |
@engcom-Hotel Aah, that explains a lot. Perhaps some kind of indication in the docs would be helpful then. To show maybe which module the field belongs to, or, if it's provided by a "non standard" module. For example, these fields would show as:
Either way, I'll have to look for a different way to show in the frontend if a discount is a fixed amount or a percentage. |
Hello @DuckThom, Its a good suggestion, but on this board we are accepting issues related to Magento 2 core. For document related issues, I suggest you to create an issue on this repo https://github.com/AdobeDocs/commerce-webapi We are closing this issue. Thanks |
The GraphQL documentation for the
Discount
type lists fields that are not present in neither 2.4.7 nor 2.4.8 (open source and enterprise).https://developer.adobe.com/commerce/webapi/graphql-api/#definition-Discount
The only fields that are in the schema are these:
magento/module-quote-graph-ql/etc/schema.graphqls
And this one:
magento/module-sales-rule-graph-ql/etc/schema.graphqls
The fields
is_discounting_locked
,type
andvalue
are not defined anywhere in the schema files.The text was updated successfully, but these errors were encountered: