Skip to content

Commit

Permalink
remove as i64
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed May 10, 2024
1 parent 68ba660 commit b951c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sdk/src/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ impl ScalarTypeExt for ScalarType {
let v = quote!(#pcr::PrismaValue);

match self {
ScalarType::Int => quote!(#v::Int(#var as i64)),
ScalarType::Int => quote!(#v::Int(#var)),
ScalarType::BigInt => quote!(#v::BigInt(#var)),
ScalarType::Float => quote!(#v::Float(#var)),
ScalarType::Decimal => quote!(#v::String(#var.to_string())),
Expand Down

0 comments on commit b951c48

Please sign in to comment.