qsharp-runtime icon indicating copy to clipboard operation
qsharp-runtime copied to clipboard

Use record to get `with` keyword.

Open cgranade opened this issue 3 years ago • 1 comments

This PR modifies the SubmissionOptions class to be a record class, allowing other code to use the with keyword to modify instances of the class on a field-by-field basis. The existing With method can then be refactored to use the with keyword.

cgranade avatar Jun 14 '22 17:06 cgranade

Any updates on this?

AZero13 avatar Oct 16 '22 23:10 AZero13