Skip to content

Instantly share code, notes, and snippets.

View IOrlandoni's full-sized avatar
🔥
On fire

Nacho Orlandoni IOrlandoni

🔥
On fire
View GitHub Profile
@IOrlandoni
IOrlandoni / gist:51712fca549b8987e3c56e2ad40ec607
Created October 25, 2019 14:24
Panner.Order - System.MissingMethodException
System.MissingMethodException: Method not found: 'Microsoft.EntityFrameworkCore.Metadata.IProperty Microsoft.EntityFrameworkCore.EntityTypeExtensions.FindProperty(Microsoft.EntityFrameworkCore.Metadata.IEntityType, System.Reflection.PropertyInfo)'.
at Panner.Order.Utilities.ParserHelper.GetSortConfigurationOrDefault(DbContext dbContext, Type type, PropertyInfo property)
at Panner.Order.Utilities.ParserHelper.TryParseOrder[TEntity](DbContext dbContext, String order, Action`1 onSuccess, Action`1 onError)
at Panner.Order.Utilities.ParserHelper.TryParseOrders[TEntity](DbContext dbContext, String csvOrders, Action`1 onPartialSuccess, Action`1 onPartialError)
at Panner.Order.DbContextExtensions.TryParseOrders[TEntity](DbContext dbContext, String csvOrders, IReadOnlyList`1& orderParticles, IReadOnlyList`1& errors)
at Panner.Swashbuckle.AspNetCore.Samples.AspNetCore3.Panner.Raw.OrderParticlesModelBinder`2.BindModelAsync(ModelBindingContext bindingContext) in Panner.Swashbuckle.AspNetCore\samples\AspNet
using System.Collections.Generic;
using Swashbuckle.SwaggerGen.Generator;
using Swashbuckle.Swagger.Model;
namespace BoundedContext.Web.Swagger
{
public class LowercaseDocumentFilter : IDocumentFilter
{
public void Apply(SwaggerDocument swaggerDoc, DocumentFilterContext context)
{