Posted 3 April 2024, 10:08 am EST
Dear Mescius,
Can you please provide some guidance for how we should deal with the type changes in the latest Wijmo release?
The release announcement (https://developer.mescius.com/blogs/wijmo-2024-v1-has-landed?utm_medium=Release&utm_source=Email&utm_campaign=wijmo-2024-v1) mentions:
Implemented enhanced type validation for generics in CollectionView, requiring TypeScript users to review and correct mistyped CollectionViews for improved code integrity. Some customers might see errors at compile time that can be easily corrected by attributing correct types.
So, changes here are not unexpected. However, there doesn’t seem to be any associated documentation on the types, or WHY the CollectionView now deals with Partial in several places - most pressingly for us, on CollectionView.sourceCollection. The documentation on https://developer.mescius.com/wijmo/api/classes/Wijmo.Collectionview.html#sourcecollection doesn’t give us any hints.
Can you explain why the collection view exposes values as partials?