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 object construction from store insertion #1282

Merged
merged 12 commits into from
Oct 27, 2022
Merged

Separate object construction from store insertion #1282

merged 12 commits into from
Oct 27, 2022

Conversation

hannobraun
Copy link
Owner

That both concepts were muddled up in the object constructors didn't sit quite right with me, but I did it anyway, for the sake of convenience. Now this came back to bite me, as some code I'm working on becomes harder to write because of that.

This pull request moves store insertion out of the object constructors. This makes the code using these constructors a bit more verbose, but that's fine for now. Maybe better solutions will present themselves.

@hannobraun hannobraun merged commit a432fec into main Oct 27, 2022
@hannobraun hannobraun deleted the objects branch October 27, 2022 09:52
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