#1290·superstruct优化以限制 `record` 上的键数量作者: nikwen创建于 2024年12月10日更新于 2024年12月10日在验证用户提供的 `record` 时,如果能够限制其大小(例如允许 0-100 个键)就非常好。可以写成这样:内容来源: ianstormtaylor/superstruct查看 GitHub 原文在 GitHub 查看讨论