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

fix(youtube-player): use safevalues #30773

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

andrewseguin
Copy link
Contributor

Use Google's safevalues package to avoid casting to any for the url in the youtube player

@andrewseguin andrewseguin requested a review from a team as a code owner April 2, 2025 11:12
@andrewseguin andrewseguin requested review from mmalerba and wagnermaciel and removed request for a team April 2, 2025 11:12
@andrewseguin andrewseguin requested a review from crisbeto April 2, 2025 11:29
@andrewseguin andrewseguin added the target: patch This PR is targeted for the next patch release label Apr 2, 2025
Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

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

Overall LGTM, although I don't quite follow why we want the dependency when the URL is hardcoded.

@andrewseguin
Copy link
Contributor Author

This was going to be added to remove the any cast, but it looks like it might just work out of the box. This is probably.not necessary

Some context: #30613

@mmalerba mmalerba removed their request for review April 2, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: youtube-player target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants