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

Failure to parse Grizzly generated YAML #301

Closed
malcolmholmes opened this issue Jan 9, 2024 · 3 comments
Closed

Failure to parse Grizzly generated YAML #301

malcolmholmes opened this issue Jan 9, 2024 · 3 comments
Assignees

Comments

@malcolmholmes
Copy link
Contributor

Grafana has the capacity to create some bizarre JSON. In two cases identified, this means Grizzly will create YAML that it cannot parse.

Those two scenarios where keys include newlines and where keys include backslashes.

For the usecase where we wish to download a whole Grafana instance, Grizzly failing to parse its own output is a real problem.

@malcolmholmes malcolmholmes self-assigned this Jan 9, 2024
@malcolmholmes
Copy link
Contributor Author

I've created a PR providing tests to the underlying YAML library: goccy/go-yaml#418

@malcolmholmes
Copy link
Contributor Author

There is a workaround for this: you can now pull resources in JSON instead of YAML when this issue occurs.

@malcolmholmes
Copy link
Contributor Author

Closing in lieu of #245

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

No branches or pull requests

1 participant