Validation with Collection2 On the Client

I am using Collection2 to insert and validate. Everything works great, but I can’t get the validation errors back to the client (to show the user). I’d like to use the various provided methods to validate keys, so I am setting a context.

On the server method Insert, I set “validationContext” to “insertForm” and can access it on the server using this:


As expected, the result matches error.invalidKeys

However, when I try that same code on the client I get an empty array. For some reason, I can’t get the context back on the client.

Note I am using CoffeeScript.

More detail on SO: