Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schemas defined in model will only output as string after version 1.1.4 #155

Open
Huliiiiii opened this issue Oct 13, 2024 · 0 comments · May be fixed by #156
Open

Schemas defined in model will only output as string after version 1.1.4 #155

Huliiiiii opened this issue Oct 13, 2024 · 0 comments · May be fixed by #156

Comments

@Huliiiiii
Copy link

1.1.4

image

1.1.3

image

code

model({
  "auth::sign_up": t.Object({
    username: t.RegExp(/^(?!.*[\p{C}\p{Z}])[\p{L}\p{N}\p{S}_]{1,16}$/u),
    password: t.String({ minLength: 8, maxLength: 64 }),
  })
})

// 

{
  body: "auth::sign_up",
},
@Huliiiiii Huliiiiii linked a pull request Oct 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant