I have generated Upgrade Compatibility Tool Report and most of the errors are as below.
[ERROR] [1328] Line 24: Implemented interface 'Magento\Framework\GraphQl\Query\ResolverInterface' that is non API on version '2.4.4'
[ERROR] [1124] Line 79: Using class 'Magento\Framework\GraphQl\Config\Element\Field' that is non API on version '2.4.4'
[ERROR] [1124] Line 81: Using class 'Magento\Framework\GraphQl\Schema\Type\ResolveInfo' that is non API on version '2.4.4'
[ERROR] [1124] Line 87: Using class 'Magento\Framework\GraphQl\Exception\GraphQlAuthorizationException' that is non API on version '2.4.4'
[ERROR] [1124] Line 94: Using class 'Magento\Framework\GraphQl\Exception\GraphQlAuthorizationException' that is non API on version '2.4.4'
These are core classes that we need when working with Graphql. I am not able to find any alternative solutions.
Please help.
-
Hi Kaushik, I also stuck in a same issue please let me know if you find anythingAnkit– Ankit2022年08月30日 05:02:23 +00:00Commented Aug 30, 2022 at 5:02
-
We upgraded to 2.4.5 and the above issues were resolved. But there are still alot of different issues that we do not see any solution as of now.Kaushik Kumar Roy– Kaushik Kumar Roy2022年09月12日 15:28:17 +00:00Commented Sep 12, 2022 at 15:28
-
Ohk Thanks for the update @Kaushik. We got solutions for non API error for some files like curlInterface, request interface etc. but we rely on Magento that after upgrading all will work well.Ankit– Ankit2022年09月13日 10:57:19 +00:00Commented Sep 13, 2022 at 10:57
-
@Ankit can you provide solution for curlInterface,request interface etcVishal– Vishal2022年09月23日 08:17:36 +00:00Commented Sep 23, 2022 at 8:17
-
Can you ask in question please can not paste so much in comments.@VishalAnkit– Ankit2022年09月25日 06:02:39 +00:00Commented Sep 25, 2022 at 6:02
1 Answer 1
These files are in magento codebase, so you don't need to fix them. If you still would like to fix these issues, mark that class as @api in docblock.
Example:
/**
* Schema object for a GraphQL endpoint describing queries and types for a client to consume.
*
* @api
*/
class Schema extends \GraphQL\Type\Schema
{
}
Explore related questions
See similar questions with these tags.