Skip to content

BREAKING: De-nest AttributeSource.AttributeFactory, #1145 #1147

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

Merged
merged 2 commits into from
Mar 19, 2025

Conversation

paulirwin
Copy link
Contributor

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a change, please open an issue to discuss the change or find an existing issue.

De-nest AttributeSource.AttributeFactory to be a top-level type.

Fixes #1145

Description

This PR de-nests AttributeFactory so it is a top-level type in Lucene.Net.Util. Because it is public, this is a breaking change.

This also changes AttributeSource.GetAttributeFactory() into the AttributeSource.AttributeFactory property, now that there is no longer a conflict with the nested type name.

@paulirwin paulirwin added the notes:breaking-change Has changes that will break backward compatibility label Mar 18, 2025
@paulirwin paulirwin requested a review from NightOwl888 March 18, 2025 03:31
Copy link
Contributor

@NightOwl888 NightOwl888 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Looks good.

@paulirwin paulirwin merged commit a0578d6 into apache:master Mar 19, 2025
275 checks passed
@paulirwin paulirwin deleted the issue/1145 branch March 19, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes:breaking-change Has changes that will break backward compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

De-nest AttributeFactory from AttributeSource
2 participants