-
Notifications
You must be signed in to change notification settings - Fork 101
#169 :- Quick fix for Resolver inspection adds implement directive to the next line #175
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
#169 :- Quick fix for Resolver inspection adds implement directive to the next line #175
Conversation
@@ -6,5 +6,7 @@ | |||
|
|||
public class GraphQlResolver { | |||
public static final String RESOLVER_INTERFACE = "\\Magento\\Framework\\GraphQl\\Query\\ResolverInterface"; | |||
public static final String BATCH_RESOLVER_INTERFACE = "\\Magento\\Framework\\GraphQl\\Query\\Resolver\\BatchResolverInterface"; | |||
public static final String BATCH_SERVICE_CONTRACT_RESOLVER_INTERFACE = "\\Magento\\Framework\\GraphQl\\Query\\Resolver\\BatchServiceContractResolverInterface"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did it in my PR. Please fix the only issue with a line in Quick Fix. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, But I have improved the quick fix with adding a select box to select one of the expected interfaces currenly quick fix is only added for \Magento\Framework\GraphQl\Query\ResolverInterface
.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, great job
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still in progress?
I've tested regading the new line issue and I'm not able to reproduce in the debugger |
Unfortunately, we have no toolset for PHP storm. |
@konarshankar07 |
Sorry, I forgot to mention you that now I'm able to reproduce this issue and working on it |
…ttps://github.com/konarshankar07/magento2-phpstorm-plugin into additional-fix-added-for-grapql-resolver--task-169
Description (*)
This PR will add following interface to implement resolver
Magento\Framework\GraphQl\Query\ResolverInterface
Magento\Framework\GraphQl\Query\Resolver\BatchResolverInterface
Magento\Framework\GraphQl\Query\Resolver\BatchServiceContractResolverInterface
Fixed Issues (if relevant)
Screenshot
Contribution checklist (*)
Note
I'm not able to reproduce the issue with the interface applied to the next line. I will check again this issue