Code Monkey home page Code Monkey logo

nextql's People

Contributors

giapnguyen avatar giapnguyen74 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  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  avatar  avatar  avatar  avatar

nextql's Issues

Typescript bindings

I like the idea of GraphQL without the overhead of typing. As Typescript implements definition files, I'm wondering if interfaces can be specified for type checking messages. On both the client and server, the same definition file would be the reference interface.

So NextQL may achieve an opt-in typing safety same as GraphQL, without the overhead or complexity?

Cache computed results

Cache computed results is very important. Naturally GraphQL or NextQL resolve values with separate data queries against multi sources. It could return inconsistent results, if backend data changes happened between resolvers executions.
For example:

{
     getPages: {
            content: 1,
            owner: {  // owner is computed from pageId
                      name: 1,
                      avatar: 1
                 }
     }
}

results

{
       getPages: [{
            content: "hello1",
            owner: {
                 name: "giapnh",
                 avatar: "cat"
            }
       }, {
            content: "hello2",
            owner: {
                 name: "giapnh",
                 avatar: "dog"     <- I change my avatar from "cat" to "dog" between nextql query pages.
            }
          
       }]
}

To solve the issue you could use Facebook's dataloader. But I think nextql should able solve the issue, so other nextql-plugins don't need to code their cache solutions.

This is cool

I really like NextQL.

Am curious; do you have plans to evolve the project?

Logo off centre

The NEXT NextQL logo is not centred in its frame and the NEXT in the octagon is also not centred.

Server-side normalizr

Why?
normalizr so popular among GraphQL community because it solve the problem of consume nested data. But it is required you define data schema on client side one more time.

NextQL should support option to return the normalize data instead of nested data.

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.