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 | |
---|---|---|---|---|
toArray is deprecated: Use static library function instead | 6 | 1344 | December 6, 2022 | |
What's the good way to add a new item in array? | 8 | 3679 | January 31, 2023 | |
Possible improvements to the Motoko Base Library | 2 | 278 | January 25, 2024 | |
Buffer.fromArray() missing from motoko base lib | 9 | 1144 | November 4, 2022 | |
Array to Buffer in Motoko | 23 | 1952 | December 22, 2023 |