UUID with ReferenceType Newtownsoft Error #158
Unanswered
luke-ransfield
asked this question in
Q&A
Replies: 1 comment
-
Managed to solve this shortly after posting 🤦♂️ Adding the column property to the Reference fixes the issue. Column name is for the target column:
I don't know why this works as it seems to work for other References that use Int etc. Guessing so its gets parsed correctly? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to populate a model using the following query:
But I'm recieving this Newtownsoft error message:
Newtonsoft.Json.JsonSerializationException: 'Error converting value "cc8c5124-fd48-4f40-beb9-b85d9b9cc5b4" to type 'Models.Supplier'. Path '[0].Supplier
.`I can see uuids are used with Reference/TypeOf in some of the examples so not sure why this isn't working? Using Newtownsoft 13.0.3.
Any assistance would be appreciated, have spent half a day trying to get figure this out...
Beta Was this translation helpful? Give feedback.
All reactions