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

feat: add plan cmd and plan generator #1539

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

feat: add plan cmd and plan generator #1539

wants to merge 5 commits into from

Conversation

devsergiy
Copy link
Member

@devsergiy devsergiy commented Jan 28, 2025

Motivation and Context

We need a way to batch-produce query plans for a list of queries from the source folder with the given router's execution configuration.
This PR adds a new cmd to generate query plans which outputs pretty printed plans

It could be used like this

go run cmd/plan-generator -execution-config=config.json -operations=./operations -plans=./plans

Checklist

  • I have discussed my proposed changes in an issue and have received approval to proceed.
  • I have followed the coding standards of the project.
  • Tests or benchmarks have been added or updated.
  • Documentation has been updated on https://github.com/wundergraph/cosmo-docs.
  • I have read the Contributors Guide.

Copy link

github-actions bot commented Jan 28, 2025

Router image scan passed

✅ No security vulnerabilities found in image:

ghcr.io/wundergraph/cosmo/router:sha-b1553a8e0569b02afe08419a2a619265608f8494

@devsergiy devsergiy changed the title add plan cmd and plan generator feat: add plan cmd and plan generator Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant