open-feature / go-sdk-contrib

Community maintained OpenFeature Providers and Hooks for Go
https://openfeature.dev
Apache License 2.0
42 stars 38 forks source link

fix: Default GO parsing is float64 for int #539

Closed thomaspoignant closed 1 month ago

thomaspoignant commented 1 month ago

This PR

By default GO when unmarshaling a JSON string GO is mapping all int as float64. Before this PR we had only type_mismatch error for int.