Open igor-tkachev opened 2 days ago
7.8.3 works as well.
I have same issue.
After checking, I noticed that you have removed the default constructor of the ClickHouseBulkCopy
class which takes only one parameter.
So LinqToDB throw exception!
Thanks for report. Looks like unintended consequence of adding a default-value parameter to constructor - https://github.com/DarkWanderer/ClickHouse.Client/pull/541/files#diff-1d47bdcdc288905072a1548d31e9b8e961d40c9b904d2d947d2885276804a4aaR27
Please try package version 7.9.1
Can you share an example of code where this issue would be reproduced? I'll add it to unit tests
@DarkWanderer, I don't think unit test will help with issues like that.
This specific issue caused by the way we consume ADO.NET providers in LinqToDB: all non-standard APIs are mapped using reflection as:
E.g. specific to this issue mapping is here
This approach breaks from time to time (like we have it here) when binary-incompatible (or behavior) API changes occur in provider and in general it is recommended to avoid such changes in non-major versions.
As solution I would recommend to add public API baselines to detect API breaking changes before they released using https://www.nuget.org/packages/Microsoft.CodeAnalysis.PublicApiAnalyzers
Current Behavior
Expected Behavior
7.8.2 works just fine.
Steps To Reproduce
No response
Environment
Anything else?
No response