Fixed tests
All checks were successful
Lint / lint (push) Successful in 11s
Test build / test-build (pull_request) Successful in 15s

This commit is contained in:
Julien Valverdé
2024-08-20 22:15:29 +02:00
parent 7c71fdfebc
commit 3094b8bc69

View File

@@ -1,7 +1,7 @@
import { Schema as S } from "@effect/schema"
import { reaction, runInAction } from "mobx"
import type { Simplify } from "type-fest"
import { Jsonifiable, MutableTaggedClass } from "./Schema"
import { composeJsonifiable, MutableTaggedClass } from "./Schema"
import { ObservableClass } from "./Schema/MobX"
import type { ExtendAll } from "./Types"
@@ -26,7 +26,7 @@ class User extends MutableTaggedClass<User>()("User", {
) {}
const JsonifiableUser = User.pipe(
Jsonifiable(S.Struct({
composeJsonifiable(S.Struct({
...User.fields,
id: S.BigInt,
}))