Stream: dotnet
Topic: C# Library OperationOutcome Generation
Peter Jordan (Mar 09 2019 at 04:30):
It would be nice if the methods in the C# Library that create OperationOutcome resources - ForException() and ForMessage() - had an additional parameter to request that a text element is populated with the relevant message. That would save me (and others?) a few lines of code and remove a number of warning messages from my test platform of choice.
Brian Postlethwaite (Mar 10 2019 at 01:25):
That sounds like some form of narrative generator...
Brian Postlethwaite (Mar 10 2019 at 01:27):
I've been thinking of adding an interface definition for that in the core libs.
Brian Postlethwaite (Mar 10 2019 at 01:27):
Then can have various implementations of it. Hardcoded, configured with Razor etc.
Last updated: Apr 12 2022 at 19:14 UTC