I recently updated to dfx 0.8.4 and the latest Motoko library and noticed that Array.append is deprecated. Before, I was using an array which would work for appending/sorting/filtering. I was transferring arrays to buffers, but buffers do not have similar sorting and filtering functionality. Is there something I’m missing? Or do I just need to implement these things (which seems a bit counterintuitive?) Also can’t directly convert a Buffer to an array for these functionalities it seems
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Array.sort() is not available when programming Motoko | 7 | 988 | July 14, 2021 | |
| What's the good way to add a new item in array? | 8 | 3794 | January 31, 2023 | |
| toArray is deprecated: Use static library function instead | 6 | 1390 | December 6, 2022 | |
| Buffer.fromArray() missing from motoko base lib | 9 | 1156 | November 4, 2022 | |
| Crud sample question | 9 | 2089 | August 13, 2020 |