Open elliottwilliams opened 8 years ago
I don't have time to look at this right now, but I imagine you could splat this line to get rid of the nested array.
If that doesn't work, I don't know what the solution would be. Maybe yield
out each element?
It will probably need to be yield
s. I'll try to take a look at this tonight.
Yields (or returning tuples) didn't do anything differently...but I also noticed that in autobahn.js I get the expected args: [Route]
. So I'm wondering if it's just a quirk of MDWamp.
Was this ever resolved?
I'm assuming yes, since we've made progress since July 10th...
The nesting of arrays in calls like
agency.routes
is one too deep.Expected:
agency.routes -> args: [Route, Route, ...]
Actual:
agency.routes -> args: [[Route, Route, ...]]