0.1.11 (#12)
Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: #12
This commit was merged in pull request #12.
This commit is contained in:
@@ -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,
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user