-
Notifications
You must be signed in to change notification settings - Fork 0
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
Move WC_GoCardless class to its own file #1
Comments
@leonardola I notices that this file has logic to do following:
I think main plugin file should only bootstrap plugin. I did not see need of refactoring this file at this moment or benifit. Let me know if you have any question or you want me to implement refactoring for above list except loading files logic. |
I do agree with this in most cases, though looking at various other Woo extensions, there doesn't seem to be a consistent approach. Some have a class in the main plugin file like this extension, others don't but still have lots of functionality in the main plugin file. Doesn't mean we can't/shouldn't clean this extension up though.
@ravinderk Just to be clear, you're suggesting we hold off on doing any sort of refactoring at the moment, correct? If so, I think that's fine though I would like to keep this item in our backlog and we can look to tackle this if we don't have any higher priority items. |
@dkotter Yes, I am suggesting to hold off at this moment. |
I'm ok with holding off. That's why it's low priority. It's something we should aim but not something we need to do now. |
Description
I would be nice to have a separate file for the
WC_GoCardless
class instead of using the main plugin file for it.The text was updated successfully, but these errors were encountered: