microsoft / carbon-aware-sdk

Carbon-Aware Core SDK
MIT License
14 stars 8 forks source link

[Bug]: There is seemingly no reason for the EmissionData.Location to be nullable #234

Open Lybecker opened 1 year ago

Lybecker commented 1 year ago

Contact Details

anlybeck@microsoft.com

What happened?

Looking thought the code, it seems there is a bug in the contract, as Locationdoes not need to be nullable: https://github.com/microsoft/carbon-aware-sdk/blob/14ef3e71872f06e9ebc220e21154e4e5972b5073/src/GSF.CarbonAware/src/Models/EmissionsData.cs#L5

client

CLI

Relevant log output

No response

Code of Conduct