You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Regenerated with new version 1.156.0 and bumped .NET to 8.0
* Removed para tags from generated documentation
* Removed c tags from generated documentation
* Removed example tags from generated documentation
* Bumped dotnet-version from 7.0.x to 8.0.x
* Handle three generic params and add overwritten constructor for ProductDataRelenvanceModifier
* Replaced chained Replace() calls with regex that captures all cases
* Removed types that were no longer part of the API.
* Updated to be able to generate creator method that sets properties not owned directly by the type.
* Removed unrelated change in test.
* Fixed breaking change for `ProductRecentlyPurchasedByCompanyFilter.php`.
* Fixed breaking change for `ProductRecentlyPurchasedByUserCompanyFilter.php`.
* Fixed breaking change for `ProductRecentlyPurchasedByUserFilter.php`.
* Fixed breaking change for `ProductRecentlyPurchasedByUserRelevanceModifier.php`.
* Fixed breaking change for `ProductRecentlyViewedByCompanyFilter.php`.
* Fixed breaking change in `ProductRecentlyViewedByUserFilter.php`.
* Fixed breaking change for `ProductRecentlyViewedByUserRelevanceModifier.php`.
* Fixed breaking change for `VariantDataRelevanceModifier.php`.
* Added support for see-tag langword de-referencing.
* Added remarks for nullable value type flag.
---------
Co-authored-by: KSGRelewise <119578211+KSGRelewise@users.noreply.github.com>
[typeof(Channel)]=typeof(Channel).GetConstructor(new[]{typeof(string)})!// We override any matching logic and choose the constructor with one string parameter.
17
+
// We override any matching logic and choose the constructor with one string parameter.
/// We sometimes change the types that own specific properties so that the optimistic parameter matcher can no longer find the properties in the same way as previously.
31
+
/// In this case we can define manual mappings that select which parameters should be mapped to keep the generated code from breaking.
.FirstOrDefault(c =>c.GetParameters().Length==c.GetParameters().DistinctBy(parameter =>parameter.ParameterType).Count()// There are no parameters with the same type.
34
-
&&c.GetParameters().Length==propertyInformations.Length// There are as many parameters as there are properties.
67
+
&&c.GetParameters().Length==ownedPropertyInformations.Length// There are as many parameters as there are properties.
// We use settablePropertyInformations here as the only place as it was an error originally that we didn't use it, but it would create too many breaking changes if we corrected in all places.
writer.WriteLine($"public static function create({ParameterList(parameters)}) : {typeName}");
140
+
writer.WriteLine("{");
141
+
writer.Indent++;
142
+
writer.WriteLine($"$result = new {typeName}();");
143
+
144
+
foreach(varparameterinparameters)
145
+
{
146
+
// We use settablePropertyInformations here as the only place as it was an error originally that we didn't use it, but it would create too many breaking changes if we corrected in all places.
/// On next major release <paramref name="supportNullableValueTypes"/> should be removed and this should be rewritten to have it always apply.
318
+
/// </remarks>
319
+
/// <param name="supportNullableValueTypes">This is introduced as we previously did not support matching on nullable value types. So setting this to <see langword="true"/> would be breaking for most places.</param>
0 commit comments