Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Generator "spin loops" (?) #180

Open
vorburger opened this issue Feb 24, 2024 · 0 comments
Open

Generator "spin loops" (?) #180

vorburger opened this issue Feb 24, 2024 · 0 comments

Comments

@vorburger
Copy link

This proto, when used similarly to this, as shown below, seems to cause this protoc plugin to go into a "spin loop" (seemingly infinite high CPU usage):

PLUGIN=$(go env GOPATH)/bin/protoc-gen-jsonschema

mkdir -pv docs/models/enola/schemas/
protoc \
  --plugin="${PLUGIN}" \
  --jsonschema_opt=allow_null_values \
  --jsonschema_opt=file_extension=schema.json \
  --jsonschema_opt=disallow_additional_properties \
  --jsonschema_out=docs/models/enola/schemas/ \
  core/lib/src/main/java/dev/enola/core/enola_core.proto

Just thought I would let you know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant