Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Infinity values to not produce invalid JSONs #2049

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

npazosmendez
Copy link

Previously they were being serialized as +Inf/-Inf, which resulted in an unparsable JSON

@npazosmendez npazosmendez changed the title Infinity values no longer produce invalid JSONs Infinity values to not produce invalid JSONs Jun 6, 2023
api/models/series.go Outdated Show resolved Hide resolved
api/models/series.go Outdated Show resolved Hide resolved
Co-authored-by: Justin Lei <justin.lei@grafana.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants