Skip to content

add persisted queries manifest support #24

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

Merged
merged 7 commits into from
Apr 23, 2025
Merged

add persisted queries manifest support #24

merged 7 commits into from
Apr 23, 2025

Conversation

nicholascioli
Copy link
Contributor

@nicholascioli nicholascioli commented Apr 23, 2025

This PR adds support for both the Relay and Apollo persisted query manifest. When specified using the --manifest and --manifest-format flags, the server will load all persisted queries as tools exposed to the LLM.

I also switched the rest of the tests to use insta for snapshot testing, which accounts for the bulk of the changes.

A future PR should fix the last few remaining panics in operation parsing.

Copy link
Contributor

@pubmodmatt pubmodmatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Can you add steps to the README.md on how to run the example PQ files? Can be in a follow-on PR.

@nicholascioli nicholascioli merged commit a7a0aa7 into main Apr 23, 2025
4 checks passed
@nicholascioli nicholascioli deleted the nc/pq2 branch April 23, 2025 20:39
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

Successfully merging this pull request may close these issues.

2 participants