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

Remove hardcoded denylist for struct fields #24830

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Jan 6, 2025

The built-in to_json and to_proto methods no longer exist, not even with a flag, so there is no longer any reason to block certain struct field names.

@fmeum fmeum requested a review from comius January 6, 2025 08:41
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Jan 6, 2025
The built-in `to_json` and `to_proto` methods no longer exist, not even with a flag, so there is no longer any reason to block certain struct field names.
@fmeum fmeum force-pushed the remove-struct-has-no-methods branch from 9d15724 to cb16b09 Compare January 6, 2025 08:46
@fmeum
Copy link
Collaborator Author

fmeum commented Jan 6, 2025

@meteorcloudy command_profiler_test fails consistently on macOS runners. I can't reproduce this locally.

@iancha1992 iancha1992 added area-java-Starlark_API java_common, JavaInfo and other Starlark Java modules team-Rules-Java Issues for Java rules labels Jan 6, 2025
@meteorcloudy
Copy link
Member

Looks like rerun succeeded!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-java-Starlark_API java_common, JavaInfo and other Starlark Java modules awaiting-review PR is awaiting review from an assigned reviewer team-Rules-Java Issues for Java rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants