0.1.11 #12

Merged
Thilawyn merged 13 commits from next into master 2024-08-20 22:17:43 +02:00
Showing only changes of commit 3094b8bc69 - Show all commits

View File

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