Closed ylecuyer closed 1 year ago
Hi Yoann @ylecuyer Thanks for the issue, test case, and proposal! :+1:
This has been resolved in 0bdecd54c0154de54aa7a1b1a0854a2be10c265e with test cases including the one above.
The solution used is very similar to yours but implemented with a generic String
tolerant reder type:
github.com/grokify/mogo/encoding/jsonutil.String
.
This is inline with other existing tolerant reader types for jsonutil.Bool
and jsonutil.Int64
.
This has been released in v0.3.7
and in Chathooks v0.8.8.
Hello John,
We faced an error when we tried to connect Grafana slack webhooks to Glip:
Here is an example Grafana payload:
As you can see value is an int and not a string as expected.
This probably could be fixed by being more flexible on the expected values:
WDYT?