artem-sedykh / sprint.filter.odata Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Is there any chance for .net Core support? I'm using that library in one of my projects, which I'm currently porting to that platform thus I won't make it without having Sprint Filter ported as well.
Func<SearchResult, bool> priceMaxFunc = result => result.Price <= 30
return Filter.Serialize<SearchResult>(priceMaxFunc);
Constructor for QueryTranslator ignores the passed in parameter.
public QueryTranslator(IMemberNameProvider memberNameProvider) { _memberNameProvider = new DefaultMemberNameProvider(); }
It should be
public QueryTranslator(IMemberNameProvider memberNameProvider) { _memberNameProvider = memberNameProvider ?? new DefaultMemberNameProvider(); }
Could we support case insensitive properties, often my DTO property is
public string SomethingName { get; set; }
But when serialized to json is presented to user as somethingName
I dont want user to have to pass SomethingName into odata query when he knows it as somethingName
Something like..
private static MemberInfo ResolveAliasInternal(Type type, string alias)
{
....
if (String.Equals(x.Name, alias, StringComparison.OrdinalIgnoreCase))
return x;
return (MemberInfo) null;
})).FirstOrDefault<MemberInfo>((Func<MemberInfo, bool>) (x => x != (MemberInfo) null));
}
Yes i can use DataContract, but i dont want to...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.