fix numeric IDs not working with persistence, use u32 instead of u64, switch to numeric by default

This commit is contained in:
2021-02-21 13:34:47 +01:00
parent 2b510dfda4
commit fbd2a1ed75
9 changed files with 68 additions and 58 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
yopa = { path = "../yopa", features = ["uuid-ids"] }
yopa = { path = "../yopa" }
serde = "1"
serde_json = "1"
heck = "0.3.2"
+2 -2
View File
@@ -23,8 +23,8 @@ export function objCopy(object) {
}
export function castId(id) {
return id.toString();
//return +id;
//return id.toString();
return +id;
}
// like _.isEmpty, but less stupid
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long