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

获取 Dict 的 key #89

Closed
idranme opened this issue Jul 4, 2023 · 3 comments
Closed

获取 Dict 的 key #89

idranme opened this issue Jul 4, 2023 · 3 comments

Comments

@idranme
Copy link
Contributor

idranme commented Jul 4, 2023

export default Schema.object({
  dict: Schema.dict(Boolean),
  value2: Schema.union([])
})

我想让 dict 的所有 key,作为 value2 的选项。

@shigma
Copy link
Member

shigma commented Jul 18, 2023

这个是不是应该去 schemastery 提?

@idranme
Copy link
Contributor Author

idranme commented Jul 18, 2023

这个是不是应该去 schemastery 提?

在提了

@idranme
Copy link
Contributor Author

idranme commented Jul 18, 2023

shigma/schemastery#51

@idranme idranme closed this as completed Jul 18, 2023
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

No branches or pull requests

2 participants