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

Raise error when import is called on finalized container #234

Closed
wants to merge 2 commits into from

Conversation

tak1n
Copy link
Contributor

@tak1n tak1n commented May 5, 2022

Let me know whether the error should have another name, I thought the name ContainerAlreadyFinalizedError is adequate as it can be reused in the future for any operation on a finalized container which should raise.

I've also found the yard doc on Dry::System::Container.import is outdated, let me know if I should update that. Found the description in PR #209 quite helpful and I could start to transfer some bits and pieces of it into the doc.

Closes #228

@tak1n tak1n requested a review from solnic as a code owner May 5, 2022 18:51
@timriley
Copy link
Member

Thanks for taking care of this, @tak1n! I've resolved a merge conflict in #254 and brought this in :)

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.

Importer should raise errors if new imports are registered after finalize
2 participants