GithubHelp home page GithubHelp logo

expressionpowertools's People

Contributors

dependabot[bot] avatar jeremylikness avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

expressionpowertools's Issues

Implement support for serializing "new" expressions

Is your feature request related to a problem? Please describe.
This is required to support projections like Select(i => new { i.Id })

Describe the solution you'd like
Can serialize and deserialize the NewExpression.

Describe alternatives you've considered
N/A

Additional context
N/A

Future plans? :-)

Hey Jeremy,

thanks for taking the time and writing down your tech journey and providing the world with the code :-)
Do you already know what you are planning with this PoC?
Is this something you - or maybe the EF Core team - will pursue?

Thanks!

Cheers,
-Christian

Some descriptions not being pulled

Describe the bug
The documentation generator is missing some types. See: ByResolve as an example.

To Reproduce
Steps to reproduce the behavior:

  1. Verify XML docs exist
  2. Generate the documentation
  3. Verify descriptions were not cross-referenced

Expected behavior
The descriptions are pulled and markdown generated.

Screenshots
N/A

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
N/A

Add "service domains" to ServiceHost

Is your feature request related to a problem? Please describe.
Currently the service host is a static host. This can create some timing conflicts and other issues such as not being able to run tests in parallel.

Describe the solution you'd like
To minimize impact, a default service domain will house the registrations. An overload will allow a "named registration" with its own set of components that inherit from the parent. This will allow tests to isolate their service stack, and allow satellite assemblies to define their own implementations without conflict.

Describe alternatives you've considered
I might look at plugging into the ServiceCollection stack but am not 100% on that right now.

Additional context

Create a client to fetch remote queries

Is your feature request related to a problem? Please describe.
Should be able to:

  • reference a db context
  • build a LINQ query
  • cast to async

Describe the solution you'd like
Something that initializes with a DbContext and path and uses the configured HttpClient to request the query.

Describe alternatives you've considered
N/A

Additional context
N/A

Add ASP.NET Middleware for handling queries

Is your feature request related to a problem? Please describe.
I want an easy way to configure a controller that deserializes and runs a query.

Describe the solution you'd like
Something that allows me to specify a path and 1 ... N DbContext and uses convention to process requests.

Describe alternatives you've considered
N/A

Additional context
Part of an end-to-end to provide Blazor client guidance.

Add rules for serialization/deserialization (security)

Is your feature request related to a problem? Please describe.
Extend #10 to allow fluent configuration to opt-in and out of members to constrain serializer options and prevent calls. Use a default opt-in for Queryable, Enumerable, and string operations.

Describe the solution you'd like
Something like:

options => options
    .AllowDefaults()
    .AllowTypes(typeof(Product), typeof(ProductDetail))
    .AllowType<Category>()
    .Prohibit(typeof(Enumerable), nameof(Skip));

Describe alternatives you've considered
N/A

Additional context
This will be a client/server engine and it should not be possible to create expressions that call unauthorized methods like File.IO.

Configure default serializer options using ServiceHost

Is your feature request related to a problem? Please describe.
For serialization options, a default options should be configurable.

Describe the solution you'd like
Provide a service that allows for default configuration.

Describe alternatives you've considered
N/A

Additional context
N/A

Implement support to serialize/deserialize MemberInitExpressions

Is your feature request related to a problem? Please describe.
Required for things like Select(t => new Item { x = t })

Describe the solution you'd like
Serialize and deserialize all three binding types.

Describe alternatives you've considered
N/A

Additional context
N/A

Add serialization support for binary expressions

Is your feature request related to a problem? Please describe.
This is required to support conditions like Where(i => i.Id > 2)

Describe the solution you'd like
Can serialize and deserialize the BinaryExpression.

Describe alternatives you've considered
N/A

Additional context
N/A

Add configurable support for long vs. short property names for serialization

Is your feature request related to a problem? Please describe.
Serialization is currently verbose. Add option to use trimmed properties names as part of configuration.

Describe the solution you'd like
Default "short property names" but allow long for debugging.

Describe alternatives you've considered
N/A

Additional context
N/A

Add support for authorization (authentication)

Is your feature request related to a problem? Please describe.
Provide restrictions based on authentication.

Describe the solution you'd like

  • Require the user to be authorized to access a data context and/or collection.
  • Provide a callback for fine-grained access based on role, claims, etc.

Describe alternatives you've considered
N/a

Additional context
N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.