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

graphql-inspector cli diff fails to read from shell plumbing #2707

Open
4 tasks
david-morris opened this issue Apr 4, 2024 · 0 comments
Open
4 tasks

graphql-inspector cli diff fails to read from shell plumbing #2707

david-morris opened this issue Apr 4, 2024 · 0 comments

Comments

@david-morris
Copy link

Issue workflow progress

Progress of the issue based on the
Contributor Workflow

  • 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox

    Make sure to fork this template and run pnpm generate in the terminal.

    Please make sure the Codegen and plugins version under package.json matches yours.

  • 2. A failing test has been provided
  • 3. A local solution has been provided
  • 4. A pull request is pending review

Describe the bug

The CLI can't read from anonymous named pipes (shell redirection), meaning you have to write to scratch buffers.

To Reproduce Steps to reproduce the behavior:

image

use e.g. <(git --no-pager show commit:path) shell redirection

Expected behavior

A cli tool should read anonymous named pipes without issue.

Environment:

  • OS: WSL 2 (win 11)/ Linux T14-3FT52B 5.15.146.1-microsoft-standard-WSL2 Validate complexity of documents #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux / Docker
  • @graphql-inspector/cli: (system install with NPM, run with npx)
  • graphql: (system install with NPM)
  • NodeJS: v18.7.1

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant