Git Product home page Git Product logo

queryninja's People

Stargazers

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

Watchers

 avatar

Forkers

phong190897 bubdm

queryninja's Issues

Make QueryNinja compatible with GraphQL Source

This will solve tons of issues, including flattening the learning curve for QueryNinja.

GraphQL support will be only partial and will cover only features present in Release v1.1.
Especially:

  • Filtering
  • Sorting
  • Selecting

GraphQL schema generation will be supported to allow usage of external GraphQL editors.

Challenges:

  • Implement deserialization for IQuery and IDynamicQuery (IDefaultFilter).
  • Implement type name introspection kind of selector. https://spec.graphql.org/June2018/#sec-Type-Name-Introspection
  • Integrate Altair editor in the QueryNinja.Source.GraphQL package.
  • โš ๏ธ Design schema extensions that will allow defining filters and ordering rules. The introspection Query has to be updated accordingly.
  • Introspection Query should serve all available action methods and types.
  • Implement deserialization for IQuery and IDynamicQuery (selectors only for now).
  • Add ability to call entity method via a selector. It is needed to allow method calls from GraphQL.
  • Allow default selectors to work across collection properties.
  • Core needs to provide attributes to describe the target type of IQueryComponent. This information will be used to build Schema.
  • IQuery and IDynamicQuery should become generic to represent the target model type. Queryable Target should be updated as well.
  • We need to build a GraphQL interpreter that can create IQuery instances from the query. Can reuse existing parser

Usage of Asp.Net Core Controllers to maintain queries might be misleading. These action items might be changed in the future.

  • Scan Asp.Net Core application and find all action methods that are using IQuery<> parameter and build Types map.
  • Each action method should represent an available set of data.
  • Deserialized query then should be passed to controller instance. (Use IControllerFactory from Asp.Net Core)

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.