--- tags: components, feature author: Oliver.W --- # Serverless Components Validation ## Problem to Solve: * User not get appropriate message when their have issue with configuration file. * Upstream error not help user to find out and fix config issue. * Should throw config issue as early as possible than throw internal/upstream error during executation. ### Things need to consider * components 服务端 通过 组件的components.yml 配置 进行config校验。 * 除此之外没有其他校验内容,如果配置出错会有上游返回错误信息,但是与serverless不相关。 * 为尽早发现配置错误,以及避免上游错误的不一致,需要继续更新并使用 组件参数校验。 * 组件参数配置校验对不同组件 应该进行共享并尽可能通用。