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

Remove Configuration#accessor_method #450

Merged
merged 3 commits into from
Oct 16, 2020
Merged

Conversation

shioyama
Copy link
Owner

@shioyama shioyama commented Oct 14, 2020

This simply aliases accessor_method to translates, allowing you to name it something else. Since translates is now very very easy to define yourself, I think this is unnecessary. If you want to give it a different name, you can just define the same macro with a different name.

Also removing mobility_accessor, mobility_reader and mobility_writer, since now that reader and writer are just plugins, it's very easy to enable/disable them by passing reader: false or writer: false to `translates. No special treatment required.

@shioyama shioyama force-pushed the remove_accessor_method branch from 61fa5f2 to ba908c5 Compare October 14, 2020 13:50
@shioyama shioyama merged commit 2aac914 into master Oct 16, 2020
@github-pages github-pages bot temporarily deployed to github-pages October 16, 2020 13:32 Inactive
@shioyama shioyama deleted the remove_accessor_method branch October 18, 2020 03:45
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.

1 participant