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

Bugfix: User-defined factory generators #366

Merged
merged 5 commits into from
Sep 24, 2024
Merged

Conversation

nathanwbrei
Copy link
Collaborator

@nathanwbrei nathanwbrei commented Sep 23, 2024

A change in the previous release meant that user-defined factory generators can create factories with null JApplication pointers.

This PR also removes some deprecated functionality:

  • JMetadata
  • JFactoryT constructors
  • JParameterManager::PrintParameters

User-defined JFactoryGenerators can't be trusted to furnish the JFactories they create with a JApplication pointer. We don't have any opportunity to inject the JApplication pointer and logger until JFactory::Create, so we do it there.
On real-world-sized projects, this summary is far too long. It overwhelms the other log output and isn't particularly helpful for debugging.
@nathanwbrei nathanwbrei merged commit efad5ff into master Sep 24, 2024
9 checks passed
@nathanwbrei nathanwbrei deleted the nbrei_facgen_fix branch September 24, 2024 01: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