Skip to content

Multiple schemas #22

@newtack

Description

@newtack

I have a folder structure like this:
workspace
--app
----app1
------.graphqlconfig
------gql-schema.json
----app2
------.graphqlconfig
------gql-schema.json

The contents of .graphqlconfig is:
{
"schemaPath": "gql-schema.json"
}

I would like to get grahpql Intellisense under app1 only for its schema when editing a *.gql file, and similarly for app2. This does work when I open a new VSCode window with app1 or app2 as the root folder, it does not work when I open the "workspace" folder.

Any idea on how I can accomplish this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions