Doesn't Bubble allow to work with list of list of numbers?

Hello all,

TLDR ;

What I am expecting (list of list of numbers)
[ [1, 2, 3] , [5, 6] , [10, 12, 14, 16]]

What it appears I get (list of numbers)
[1, 2, 3, 5, 6, 10, 12, 14, 16]

I think I just lost a few hours on this. I thought I was working with lists of list of numbers… but it appears that Bubble “skips one level” and automatically merges my lists.

Is this a brain bug from my end? A Bubble bug? Or a feature?

Here is an visual illustration : bonjoursejour

Here is a text explanation :

Let say I have a data type with a field that is a list of numbers, let’s call it “list_of_numbers”
I have multiple Things of the type “list_of_numbers”.

What I am expecting :
[ [1, 2, 3] , [5, 6] , [10, 12, 14, 16]]

What it appears I get :
[1, 2, 3, 5, 6, 10, 12, 14, 16]

Hi, this is working as expected. If you set the type to “numbers” then any list you pass is effectively merged into a single list of numbers.

In your example of :

What I am expecting (list of list of numbers)
[ [1, 2, 3] , [5, 6] , [10, 12, 14, 16]]

This wouldn’t be a list of numbers, this is a list of lists. Which you correctly identified in your example.

[ [1, 2, 3] , [5, 6] , [10, 12, 14, 16]]
[ [list1] , [list2] , [list3] ]

:+1: thanks a lot, very clear