I added a method to a service class with the following signature:
C#public Task<FiscalYear?> GetOtherFiscalYearAsync(FiscalYear fiscalYear, ISecurityContext securityContext, int yearOffset, ACL? requestedAcl = null, CancellationToken cancellationToken = default)
I then used "Add to interface" to add the method to this interface and got this:
C#Task<FiscalYear?> GetOtherFiscalYearAsync(FiscalYear fiscalYear, ISecurityContext securityContext, int yearOffset, ACL? requestedAcl = null, CancellationToken cancellationToken = null);
The last parameter was changed from "default" to "null" which is incorrect.
Thank you for the code snippets. I have reproduced the problem on my side. We will try to fix it as soon as possible.
Once we make any progress, we will let you know in the context of the current ticket.