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

separate field extraction and object init #4

Open
asmodehn opened this issue Mar 16, 2017 · 0 comments
Open

separate field extraction and object init #4

asmodehn opened this issue Mar 16, 2017 · 0 comments

Comments

@asmodehn
Copy link
Member

We want to separate:

  • the logic of extracting fields from an object
  • the logic of building an object from fields.

At the moment both are done by the sanitizer.
Because of it, we are not able to use the logic of extracting field inside a message type __init__ method.

Reviewing the structure for this should allow to simplify the code.

It might be best to do that after using contracts (instead of our acceptor implementation)

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

No branches or pull requests

1 participant