# Breaking change - improved type checking with arrays in 0.36

Source: https://orbitalhq.com/changelog/2025-08-04-improved-array-type-checking
Date: 2025-08-04
Version: 0.36.0

Orbital 0.36 introduces a fix to type checking with array arguments.

Previously, arrays were not being correctly type checked, such that this was possible:

Schema:

```taxi
model Film {}

model Actor {}
```

Query:

```taxi
import Actor
find { 
   films: Film[] = Film[] as Actor[]
}
```

The same type checking would also fail with arguments to functions or expression types:

Schema:

```taxi
model Film {}

model Actor {
    name : Name inherits String
}

function onlyOneFilm(films:Film[]):Film -> films.getAtIndex(0)
```

Query:

```taxi
import Actor
given { actors: Actor[] = [{name: "Jim"}]}
find { 
   films: Film = onlyOneFilm(actors)
}
```

    
These now correctly return compilation errors.

This is a breaking change, as these statements did not used to return compilation errors (but would not behave as expected).

This change will be released in 0.36, and is available from 0.36.0-M9
