Async Parsers and Serializers #1677
Replies: 5 comments 10 replies
-
The xml parser I'm working on does async (along with cancellation token) however it is slower than the non async code. And also had to work around a bug in the xmlreader async code too. Not sure if streaming directly to the object is better, or going via the memory stream. |
Beta Was this translation helpful? Give feedback.
-
I'm having problems deserializing in .net 6 using c# I get the error: where str is: Why doesn't it like 'contentCodeableConcept' ? Thanks. |
Beta Was this translation helpful? Give feedback.
-
I tried deleting all the FHIR stuff from my project and then getting all the R5 stuff from nuget. Now Visual Studio can't find a whole bunch of fhir classes. What exactly are the firely nuget libraries to download. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the hint to look at the start up stuff again - - haven't seen that for a long time. What a mess! Compile compatibility is a joke. |
Beta Was this translation helpful? Give feedback.
-
The problem was the v5 stuff needed 3 other dependent packages installed with updated versions before it would install - - just the way github works that I didn't expect. The errors then went down to a high, but acceptable level. Only problem noted so far is communication.payload[n].content has to be explicitly typed to codeableconcept before being assignable to a codeableconcept variable. But the R5 library handles things better than the R4 one and I like the FHIR V5 changes. Thanks for your help. Much appreciated. |
Beta Was this translation helpful? Give feedback.
-
Has there been any attempt at adding async-support for the parsers/serializers?
If not, is this something that would be considered useful for the SDK, and would there be any potential show-stoppers adding async-support with the underlying XML/Json libraries?
Beta Was this translation helpful? Give feedback.
All reactions