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 classes with fixed fields instead of maps #12

Open
michaelspiss opened this issue May 3, 2019 · 0 comments
Open

Use classes with fixed fields instead of maps #12

michaelspiss opened this issue May 3, 2019 · 0 comments
Labels
enhancement New feature or request
Projects

Comments

@michaelspiss
Copy link
Owner

Is your feature request related to a problem? Please describe.
Currently, a map is used in many places to collect information, for example in ImapFolder._processBody(). This is a poor way to implement things as it requires the developer to remember each value's key.

Describe the solution you'd like
To help with autocompletion and error spotting, classes with fixed fields for each value should be used instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Stable
  
To do
Development

No branches or pull requests

1 participant