Skip to content

Tailcall LSP integration #402

@tusharmath

Description

@tusharmath

Problem
Currently one needs to always go to the documentation website to read the configuration parameters and then set them up in the configuration file. We want to leverage IDE capabilities for GraphQL to provide intellisense and improve developer experience.

Solution
Create a new tc init command that bootstraps a tailcall project:

  1. Creates a .tailcallrc.graphql like this

  2. Asks the user if they want to add a file to the project if they say no - exit with just the .tailcallrc.graphql file, otherwise if they say yes:

  3. Asks the user to enter a the file name and create a <file name>.graphql file.

  4. Create a .graphqlrc.yml file with the following content

    schema:
      - "./<file name>.graphql"
      - "./.tailcallrc.graphql"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions