Skip to content
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

Improve decorators #159

Merged
merged 2 commits into from
Jul 8, 2019
Merged

Improve decorators #159

merged 2 commits into from
Jul 8, 2019

Conversation

jacobherrington
Copy link
Contributor

I'm not completely confident that testing would catch all of the problems that could arise from this, but it is passing tests...

Open to feedback on whether or not this change is worth it, I think it is.

@jacobherrington
Copy link
Contributor Author

Based on the discussion with @spaghetticode and @kennyadsl, I've decided to use this PR just for removing class_eval from the existing decorators.

The decision on a new pattern for organizing "decorators" in Solidus should be discussed and settled in the issue on the main repo.

Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with just removing class_eval here but I think there's a typo in a file name.

Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@spaghetticode spaghetticode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks good to me!

@jacobherrington jacobherrington merged commit 6bb7f7c into solidusio:master Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants