ronnieoverby/RavenDB-Linqpad-Driver

Polymorphic Queries on Types defined in Linqpad Query

ronnieoverby opened this issue · 1 comments

Polymorphic Queries on Types defined in Linqpad Query results in a json deserialization error. I think this is because Linqpad creates a new assembly with a new name on each execution, so the raven client has trouble telling JSON.net how to deserialize.

There are no issues for types defined in a referenced assembly.

I've noticed that if I get this error that killing the query app domain (CTRL SHIFT F5) fixes the issue.