SOA-04 / leaf-api

https://docs.google.com/spreadsheets/d/1in8nvVFMh99L_NCA-PDzP0xR529cWyqTXr9tJljar0M/edit?gid=682049865#gid=682049865
0 stars 3 forks source link

[作業]Update input validation and service objects #4

Closed pedestrianlove closed 1 week ago

pedestrianlove commented 1 week ago

Replace Form objects with Request objects that parse HTTP request URL/body and are returned inside Success/Failure (i.e., Result monads) Service objects should always return ApiResult objects, wrapped in Result monads