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

Properly load booleans from the API #14522

Merged
merged 1 commit into from Feb 6, 2023

Conversation

Rylan12
Copy link
Member

@Rylan12 Rylan12 commented Feb 6, 2023

Follow-up to #14503

As pointed out by @apainintheneck, now that booleans are fixed in the JSON they're actually being converted back to strings by our parser. Lets fix this by only attempting to reverse-parse elements that are already strings and leaving everything else (i.e. booleans) as-is. This shouldn't be a problem because all of the things that get pushed through to_h_string_gsubs will end up being a string in the JSON which means it will also go back through from_h_string_gsubs

@Rylan12 Rylan12 added critical Critical change which should be shipped as soon as possible. install from api Relates to API installs labels Feb 6, 2023
@BrewTestBot
Copy link
Member

Review period skipped due to critical label.

@MikeMcQuaid
Copy link
Member

Thanks again @Rylan12!

@MikeMcQuaid MikeMcQuaid merged commit 1a0f62c into Homebrew:master Feb 6, 2023
@Rylan12 Rylan12 deleted the api-load-booleans branch February 6, 2023 15:15
@github-actions github-actions bot added the outdated PR was locked due to age label Mar 10, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. install from api Relates to API installs outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants