Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subgraph list cli command with raw option does not return valid JSON. #621

Closed
co-sic opened this issue Mar 11, 2024 · 1 comment · Fixed by #642
Closed

Subgraph list cli command with raw option does not return valid JSON. #621

co-sic opened this issue Mar 11, 2024 · 1 comment · Fixed by #642
Labels
bug Something isn't working

Comments

@co-sic
Copy link
Contributor

co-sic commented Mar 11, 2024

Component(s)

cli

Component version

wgc version

0.44.2

controlplane version

latest

router version

latest

What happened?

The returned value is not a valid json. I have tried using the raw option and then parsing with JSON.parse and also reading the the file input with JSON.parse if i use the out option.
Error:

Unexpected token 'S', "[
  Subgraph {"... is not valid JSON
error Command failed with exit code 1.

Environment information

Environment

OS: Ubuntu 23.10
Package Manager: yarn

Router configuration

No response

Router execution config

No response

Log output

No response

Additional context

No response

@co-sic co-sic added the bug Something isn't working label Mar 11, 2024
Copy link

WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible.
The roadmap is driven by our customers and we have to prioritize issues that are important to them.
You can influence the priority by becoming a customer. Please contact us here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant