Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: specifically use serde::Serialize in Scalar derive (#909)
#### Why are we making this change? It was reported [here](#908) that `rust_decimal::Decimal` errored out when `derive(cynic::Scalar)` was used on it. This turned out to be because that `Decimal` type defines its own `serialize` function in addition to implementing `Serialize` and the `Scalar` derive was accidentally using that. #### What effects does this change have? Updaates the `Scalar` derive to specifically use `serde::Serialize::serialize`
- Loading branch information