https://pulumi.com logo
#dotnet
Title
m

mysterious-australia-14256

10/01/2021, 10:56 AM
Is it possible to specify JsonSerializerOptions to use with the Pulumi.Config.Get/Require methods or would I need to specify it manually as an attribute for each property in my model?
b

bored-oyster-3147

10/01/2021, 12:53 PM
Unfortunately I don't think that is currently possible. You could open an issue and state your case if you think it should be, but also remember that there is nothing stopping you from deserializing the Config file on your own.
w

worried-city-86458

10/01/2021, 7:49 PM
I recommend using dotnet config sources instead