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

internal/presentation: cleanup location handling #6498

Merged

Conversation

srenatus
Copy link
Contributor

@srenatus srenatus commented Dec 19, 2023

nil values for any are always rendered. I don't think there's a need to have Location be interface{} here, so I've changed it, cleaning up the output formatting without extra hurdles.

Random stackoverflow answer: https://stackoverflow.com/a/44321451/993018

anderseknert
anderseknert previously approved these changes Dec 19, 2023
Signed-off-by: Stephan Renatus <stephan@styra.com>
@srenatus srenatus merged commit 979e626 into open-policy-agent:main Dec 19, 2023
24 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants