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

Replace Set with Collection in SoundRegistry #40

Merged

Conversation

MelonHell
Copy link
Contributor

resolves #38

@yusshu
Copy link
Member

yusshu commented Dec 28, 2023

Instead of changing the old methods, this should add new methods (don't mark the old ones as deprecated), so backwards-compatibility is kept. Also note that @since tags for these new methods should be set to 1.6.0

@MelonHell
Copy link
Contributor Author

Replacing Set with Collection will not break backward compatibility since Set inherits Collection

@yusshu
Copy link
Member

yusshu commented Dec 28, 2023

It breaks already compiled code, as it changes the method signature

@MelonHell MelonHell force-pushed the pr/sound-registry-set-to-collection branch from 61b668d to 6f5f7e0 Compare December 28, 2023 20:59
@MelonHell MelonHell force-pushed the pr/sound-registry-set-to-collection branch from 6f5f7e0 to fe00de1 Compare December 30, 2023 14:50
@yusshu yusshu changed the base branch from main to ver/1.x.x December 31, 2023 07:42
@yusshu yusshu merged commit a6bccf4 into unnamed:ver/1.x.x Dec 31, 2023
1 check passed
@MelonHell MelonHell deleted the pr/sound-registry-set-to-collection branch January 26, 2024 11:11
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.

Replace Set with Collection in SoundRegistry
2 participants