plotly / Dash.jl

Dash for Julia - A Julia interface to the Dash ecosystem for creating analytic web applications in Julia. No JavaScript required.
MIT License
486 stars 41 forks source link

Fix `convert([v], v)` dispatch for Julia 1.10 #231

Closed etpinard closed 8 months ago

etpinard commented 10 months ago

fixes https://github.com/plotly/Dash.jl/issues/228


This is crucial for CallbackDeps instantiation

https://github.com/plotly/Dash.jl/blob/462b215b3bf4693965b4eb840fcd21550114e00c/src/app/supporttypes.jl#L88-L96

I'm not sure why the Julia <=1.9 dispatch fails in Julia 1.10.

It seems that Julia 1.10 is more strict about element types during conversion to Vector.

In 1.9

image

but in 1.10

image

Any help on this topic would be much appreciated.