Skip to content

Instantly share code, notes, and snippets.

🔥
On fire

Nacho Dunning-Kruger

🔥
On fire
Block or report user

Report or block Dunning-Kruger

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Dunning-Kruger
Dunning-Kruger / gist:51712fca549b8987e3c56e2ad40ec607
Created Oct 25, 2019
Panner.Order - System.MissingMethodException
View gist:51712fca549b8987e3c56e2ad40ec607
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
View LowercaseDocumentFilter.cs
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)
{
You can’t perform that action at this time.