Skip to content

[GR-54193] Improve docs on JSON config files #8945

@nreid260

Description

@nreid260

Feature request

Is your feature request related to a problem? Please describe.

My main point of reference is this page https://www.graalvm.org/latest/reference-manual/native-image/metadata/ There are a few problems:

Describe the solution you'd like.

I'd like:

Describe who do you think will benefit the most.
GraalVM users. The existing docs are difficult to navigate and present conflicting information.

Describe alternatives you've considered.

Publishing the config schemas using a stongly typed format (e.g. protobuf) would be very handy. It would:

  • be easier to read
  • enable trusting the schema as the source-of-truth about the format
  • eliminate the handwritten config parser classes

Additional context.

https://protobuf.dev/programming-guides/proto2/

Express whether you'd like to help contributing this feature

I have already written protobuf schema files. I plan to express all our config files as https://protobuf.dev/reference/protobuf/textformat-spec/ and convert them into the JSON format. I could share these if desired.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions