edgedb-python
edgedb-python copied to clipboard
Fix unpack of links for polymorphic fields
Right now codecs resolve distinct list types using the top-level type passed via __edgeql__. To make polymorphic links work we need to do that dynamically based on __tid__.
@vpetrovykh we need to test this -- I've implemented this but I think we need more tests -- try breaking it.
I fixed the case where there are link properties and added tests for that, at least