Skip to content

Conversation

@fredroy
Copy link
Contributor

@fredroy fredroy commented Oct 29, 2025

so many wrong stuff here...

  • the controller was set with a string instead of a link (whereas all the other components use a link, it was weird)
  • typos
  • the comments were wrong

I renamed the attribute with the alias (which was always use) and set a compat layer.
The parse method will

  • warn if using the old attribute name ("ircontroller")
  • warn and change the string to be a link '@' if the value is not a string with a link format

So this PR will be breaking for compilation if one was using the deleted/renamed members but should not be breaking for runtime

@fredroy fredroy added pr: clean pr: status to review To notify reviewers to review this pull-request pr: breaking labels Oct 29, 2025
@fredroy fredroy force-pushed the change_irc_link_mapping branch from 44fc226 to fa32cf2 Compare November 4, 2025 04:01
@hugtalbot hugtalbot added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Nov 6, 2025
@hugtalbot hugtalbot merged commit a4e5daf into sofa-framework:master Nov 6, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: breaking pr: clean pr: status ready Approved a pull-request, ready to be squashed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants