oslofjord / sanity-linq

Strongly-typed .Net Client for Sanity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not support generic types

anarandjic opened this issue · comments

If we have field that is referenced to different types of pages (article page, product page, landing page) I am not able to retreive reference by SanityReference type. Same is for blocks, if we have different types of blocks VideoBlock,TextBlock which are all derived from BaseBlock, I am no able to retreive different blocks under same type. My guess is that you should add typenamehandling serialization setting.

Thanks for advice, I will try but my guess is that this will solve issue.