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

Make ext:registerAutoPackageIO defer its legacy registrations #40

Merged
merged 2 commits into from
Sep 28, 2017

Conversation

jamadden
Copy link
Member

This lets it detect conflicts. This also lets it be used with <registerIn> to localize them (yay).

I did not add an escape hatch to make it register them eagerly still and ignore conflicts, but we can if that turns out to be necessary.

Fixes #28

Currently based on #38

… requested.

Also make AutoPackageIO.__class_init__ responsible for returning the
legacy factory object instead of registering it itself.
This lets it detect conflicts. This also lets it be used with
<registerIn> to localize them (yay).

I did *not* add an escape hatch to make it register them eagerly still
and ignore conflicts, but we can if that turns out to be necessary.

Fixes #28
Copy link
Contributor

@papachoco papachoco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jamadden
Copy link
Member Author

Merging this will also merge #38. I just want to make sure everybody's good with both sets of changes.

@jamadden jamadden merged commit 279b7ee into master Sep 28, 2017
@jamadden jamadden deleted the issue28 branch September 28, 2017 18:58
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.

2 participants