Skip to content

Handle json schema consts in compiler config doc generation - #5047

Closed
captbaritone wants to merge 1 commit into
mainfrom
config-consts
Closed

Handle json schema consts in compiler config doc generation#5047
captbaritone wants to merge 1 commit into
mainfrom
config-consts

Conversation

@captbaritone

Copy link
Copy Markdown
Contributor

Fixes #5045.

In b208fed we upgraded schemars which changed how the json schema for the compiler config is represented. It looks like the previous representation used enums of a single string literal to represent string literals. The new version uses the const keyword for string literals.

Before

Screenshot 2025-08-01 at 9 39 51 AM

After

Screenshot 2025-08-01 at 9 39 35 AM

Related: #5036

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@captbaritone has imported this pull request. If you are a Meta employee, you can view this in D79452138.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@captbaritone merged this pull request in b536875.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

realy.dev doc generation, will not corectly include string values

2 participants