Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce api::v2::calendar::ListReqInit
The api::v2::calendar::ListReq type doesn't have a logical default implementation: the start and end date should always be provided. At the same time, we would like to declare it as non-exhaustive to have some better backward compatibility story moving forward. To somehow unite these two constraints, this change introduces the ListReqInit type, which implements Default and requires the start and end date to be turned into the final ListReq.
- Loading branch information