TIL: Always check for missing configuration values inside constructors

from blog Just Some Code, | ↗ original
This post is part of my Advent of Code 2022. This is a lesson I learned after trying to use a shared NuGet package in one of my client’s projects and getting an ArgumentNullException. I had no clue that I needed some configuration values in my appsettings.json file. This is what I learned. Always check for missing configuration values inside...