-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
App.create_window()
to accept any Into<String>
type (fix #2290)
#2291
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
Conversation
I've updated the changefile to reflect both changed functions, like @chippers suggested in #2290. I do want to note that this may be considered a breaking change (which is why I marked it as 'major' in the changefile). Especially because @chippers said this isn't a major change and I don't entirely agree. (I was going to comment in the issue but I feel it's more appropriate to continue this conversation here in the PR).
Because while the type is technically backwards-compatible (since The current app.create_window("my_label".into(), [...]); Note the With this PR, app.create_window("my_label", [...]); However, when trying to use the original code with
So because the If you don't consider this a breaking change, let me know and I'll bring the changefile down to a patch level. |
This is a fair point, but we are kind of abusing the patch level while we are in beta. A recent change that also did this is the Good point about the breaking change however, and I'll update the PR original comment to specify it |
I've updated the changefile to patch level. |
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
App.create_window()
accept anyInto<String>
type for the label #2290The PR fulfills these requirements:
fix: #xxx[,#xxx]
, where "xxx" is the issue number)If adding a new feature, the PR's description includes:
Other information:
See #2290.