-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
missing method to_json
on struct
type
#12983
Comments
is |
Shouldn't be on by default I think, looking at 4.0.0 release info https://blog.bazel.build/2021/01/19/bazel-4-0.html#starlark |
I did not enable this option. I can confirm that build is successful if this option is explicitly disabled |
Are you using |
@brandjon yes I do |
Description of the problem / feature request:
Missing method
to_json
onstruct
type. This is a breaking change which is not documented, and it results in build failure of many bazel extensions includingrules_docker
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
rule.bzl
BUILD.bazel
bazel build //:my_target
What operating system are you running Bazel on?
macOS Catalina 10.15.7
What's the output of
bazel info release
?release 4.0.0
Have you found anything relevant by searching the web?
No
Any other information, logs, or outputs that you want to share?
The text was updated successfully, but these errors were encountered: