Giter VIP home page Giter VIP logo

Comments (7)

Cito avatar Cito commented on July 29, 2024 2

I was actually lagging behind and trying to catch up this weekend again. Still missing the last two months of changes...

My intention for graphql-core-next was to avoid differences and additions and keep everything as close to GraphQL.js as possible. Currently there are only two additions which have been taken over from the older graphql-core for backward compatibility reasons: support for middleware and a custom execution context. You're right, these should be mentioned particularly in the docs. I'll keep this open as a reminder.

I also try to keep the test suite in sync and send PRs when I notice problems or make additions. One user contributed a test_user_registry test/demo covering mutations and subscriptions, which I have added as a top level test to the test suite, similar to the star wars test/demo.

from graphql-core.

IvanGoncharov avatar IvanGoncharov commented on July 29, 2024

@Cito Thanks for the details.

I think we need to have middlewares in graphql-js but at the moment I'm focused more on paying the technical debt for features we already have, e.g. buildSchema/extendSchema.

BTW. I notice you don't use contain_subset anymore so it looks like you can safely delete it:
https://github.com/graphql-python/graphql-core-next/search?q=contain_subset&unscoped_q=contain_subset

from graphql-core.

Cito avatar Cito commented on July 29, 2024

@IvanGoncharov Right, contain_subset is not needed any more after graphql/graphql-js@1d07ebf - removed it now.

from graphql-core.

Cito avatar Cito commented on July 29, 2024

Note to self: Document #41, #42 and overridable type_map_reducer.

from graphql-core.

IvanGoncharov avatar IvanGoncharov commented on July 29, 2024

@Cito A little bit off-topic but why do you need overridable type_map_reducer?

from graphql-core.

Cito avatar Cito commented on July 29, 2024

@IvanGoncharov This is to support Graphene, a higher-level and more Pythonic library wrapping GraphQL-core. Graphene uses a custom reducer to convert its own types to the GraphQL-core types. See here for how it is used by Graphene.

from graphql-core.

Cito avatar Cito commented on July 29, 2024

The documentation has been added now in 2999def.

from graphql-core.

Related Issues (20)

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.