-
Notifications
You must be signed in to change notification settings - Fork 0
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
RESTful 结合 DDD 前端方案 #2
Labels
good first issue
Good for newcomers
Comments
如何避免 在 |
具象 Model 与 pathname 一一对应,请求成功即创建 具象 Model 实例 |
目前期望能达到的效果:(伪代码)
|
请求库 需要开放 |
为
|
Model 需要开放 构造函数参数 以决定对应的 实例是否开启空值保护(null、undefined)。 是否可以自定义规则??? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
加强设计环节,推荐前端领域建模。更好的方式应该放置于 BFF 层, 缺点是门槛较高。
The text was updated successfully, but these errors were encountered: