question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hello World example/'vscode-graphql.contentProvider' failed

See original GitHub issue

I’m probably doing something very basic wrong, as I’m just learning GraphQL.

In VS Code, I created a .gql file with the following contents:

POST https://api.github.com/graphql
Authorization: bearer ghp_my0token0here

query($owner:String!, $name:String!) {
  repository(owner: $owner, name: $name) { 
    url, stargazerCount
  }
}

Then I run “Execute GraphQL Operations” via the Command Palette and receive the following error:

Running the contributed command: ‘vscode-graphql.contentProvider’ failed.

As said above, I’m probably doing something very basic wrong, but IMO this error message is not descriptive at all. Maybe you could give me a short hint what I am expected to do instead in order to test out my query from VS Code? 😃

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
acaocommented, Apr 18, 2022

@linqlover we will eventually bring this functionality back via joyce’s extension and/or another extension, once there are resources to support it.

For now, we need to focus on some significant changes and longstanding issues in the language server and thus the extension reference implementation. I and @orta debated it for a while but he is right, this is the most realistic path for us for now until we have more interested contributors to help.

1reaction
hinogicommented, Apr 12, 2022

that link is only for the github graphql notebooks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hello World example/'vscode-graphql.contentProvider' failed
I'm probably doing something very basic wrong, as I'm just learning GraphQL. In VS Code, I created a .gql file with the following...
Read more >
Failed to find Content Provider in API 30 - Stack Overflow
The reason my custom ContentProvider doesn't work on Emulator with API 30 is Package visibility in Android 11+. To Fix my issue I've...
Read more >
Content provider basics - Android Developers
A content provider manages access to a central repository of data. A provider is part of an Android application, which often provides its ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found