Code Monkey home page Code Monkey logo

Comments (4)

wincent avatar wincent commented on May 4, 2024 2

The scope of the .graphqlrc format that we're using at FB goes a bit beyond what's currently defined in graphql-config (app-specific config for multiple apps residing in a single repo, inclusion/exclusion rules etc) but as those are additive changes, it seems possible that the could be added to graphql-config.

I think the other main thing missing is a formal specification for the discovery mechanism for .graphqlrc files (how/where is the file-system traversed, and what are the precedence rules if multiple files are found etc).

from graphql-language-service.

asiandrummer avatar asiandrummer commented on May 4, 2024 1

Opened kamilkisiela/graphql-config#16 - I'll close this issue and track the progress there :)

from graphql-language-service.

schickling avatar schickling commented on May 4, 2024

Thanks a lot for kicking this off @asiandrummer!

One of the main things we've learned at Graphcool, is that our customers prefer configuring a schema endpoint URL instead of downloading and updating a JSON representation of the schema. That's why we've created graphql-config which is also used for babel-plugin-react-relay.

Since we've created this repository quite a few people started to contribute and added support for a graphql-js schema-path or extending the endpoint option by specifying HTTP headers for authentication purposes.

Another interesting source of inspiration is the graphql.config.json file from jimkyndemeyer/js-graphql-intellij-plugin. Maybe @jimkyndemeyer wants to jump in here as well?

from graphql-language-service.

jimkyndemeyer avatar jimkyndemeyer commented on May 4, 2024

Yeah, graphql.config.json could serve as an inspiration since 8.000+ plugin users already depend on it.

With that in mind, it would be ideal if the user configs could be automatically migrated using a set of JSON transformations.

from graphql-language-service.

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.