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

Use env to pass AMS meta around. #40

Merged
merged 2 commits into from
Jan 15, 2015
Merged

Conversation

dblock
Copy link
Member

@dblock dblock commented Jan 14, 2015

I think this is better than passing things through a module class variable, but I am not 100% sure. This avoids theoretical concurrency issues and possibly some GC.

@siong1987
Copy link
Member

LGTM. I always opt for lesser code and your point on concurrency issues makes sense.

as long as this doesn't break backward compatibility, merge it!

dblock added a commit that referenced this pull request Jan 15, 2015
Use env to pass AMS meta around.
@dblock dblock merged commit f13d008 into ruby-grape:master Jan 15, 2015
@dblock
Copy link
Member Author

dblock commented Jan 15, 2015

Thanks, merged.

@dblock dblock deleted the one-meta branch May 10, 2016 10:59
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.

2 participants