Jeremy Lakeman

Results 10 comments of Jeremy Lakeman

Looks like you missed a spot sickbeard/webserve.py ``` + elif curProvider == 'kat': + sickbeard.KAT = curEnabled ``` Though this code should probably be changed to avoid a hard coded...

+1 I've also hit this when generating a C# client. The spec allows for requestBody to be either a Request Body Object, or a Reference Object. So the problem is...

I've hacked together basic support for parsing & codegen https://github.com/lakeman/NSwag/commit/4528a593f53f7fc2c82f2f103e13abc040f42ffe A proper fix would probably add `public OpenApiRequestBody ActualRequestBody` to `OpenApiOperation` and replace most uses of `.RequestBody`, but I wanted...

[This](https://github.com/WebApiContrib/WebAPIContrib.Core/blob/69454866f6603c4385eac340f1e84b07d9d022d3/src/WebApiContrib.Core.Formatter.Csv/CsvOutputFormatter.cs#L74 ) test is wrong. Many linq operations return a class with [multiple](https://github.com/dotnet/runtime/blob/2087c07830770d3c7b8e8452e42a398b16ac0a0b/src/libraries/System.Linq/src/System/Linq/Select.cs#L58) generic type arguments. Starting with the source type, not the result type. Rather than `.GetType()`, you should...

+1.. In my use case I'm trying to write my own version of `EnsureCreatedAsync` using either the `IMigrationsAssembly.ModelSnapshot.Model` or `migration.TargetModel`, so I can then test further migrations; ```c# var migrations...

Adding an explicit test for `Dictionary` should fix the problem; ```c# foreach (var linkingForeignKey in table.GetReferencingRowInternalForeignKeys(entityType)) { var linkingNavigationProperty = linkingForeignKey.PrincipalToDependent?.PropertyInfo; var properties = GetSortedProperties(linkingForeignKey.DeclaringEntityType, table).ToList(); if (linkingNavigationProperty == null...

This bug is triggered while sorting columns for a create table operation. When two classes map to the same table, via a navigation property that is also an "indexer property"....

The one line diff I [posted above](https://github.com/dotnet/efcore/issues/27504#issuecomment-1326997377) should avoid the exception. But a better fix would sort columns without using `PropertyInfo` as a dictionary key. For my own project I...

IMHO, start with "breath of milk" then "radiant appetite". The rest are harder to calculate and may be less useful anyway. The cost of each sacrifice should be the current...