this post was submitted on 13 Nov 2023
4 points (75.0% liked)
Angular
266 readers
4 users here now
A community for discussion about angular
Wormhole
Logo base by Angular under CC BY 4.0 with modifications to add a gradient and drop shadow
founded 1 year ago
MODERATORS
Shouldn’t the @Input be of type SchedulerEvent[]? I don’t see where to get the transformed data otherwise
When you are developing a UI library (as we are) we want to support the old API for some time and mark is a deprecated
. So one would add a second @Input()
of type ScheduleEvent[]
leave the old API be as Course[]
and mark it as deprecated. In the next major version you could then retire the old API.
I see, thanks