Skip to content

Conversation

@dgw
Copy link
Member

@dgw dgw commented Jun 28, 2021

Description

Anyone using these as intended should see no ill effects, but using an Enum class will actively thwart plugins that try to do something silly like override a numeric name.

Really, it's the same thing as #2122 but for the numeric events instead.

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
  • I have tested the functionality of the things this change touches

Anyone using these as intended should see no ill effects, but using an
`Enum` class will actively thwart plugins that try to do something silly
like override a numeric name.
@dgw dgw added this to the 8.0.0 milestone Jun 28, 2021
@dgw dgw requested a review from a team June 28, 2021 06:17
@Exirel Exirel self-requested a review June 28, 2021 09:16
Copy link
Contributor

@Exirel Exirel left a comment

Choose a reason for hiding this comment

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

Alright, I had second though about the whole str, Enum thing. I'm still not a big fan, but I get it.

@dgw dgw added the Breaking Change Stuff that probably should be mentioned in a migration guide label Jul 5, 2021
@dgw dgw merged commit 31ccf77 into master Jul 5, 2021
@dgw dgw deleted the tools.events-enum branch July 5, 2021 06:02
@dgw dgw mentioned this pull request Nov 11, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking Change Stuff that probably should be mentioned in a migration guide Low Priority Tweak

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants