Skip to content

Conversation

msullivan
Copy link
Member

There is not a non-JSON method, since making that work will be tricky
for annoying reasons, but I want to have it eventually.

@msullivan msullivan requested review from 1st1, elprans and fantix July 29, 2025 17:02
@msullivan msullivan force-pushed the query_graphql branch 3 times, most recently from fb2fe7a to 6efc56f Compare July 29, 2025 19:05
@msullivan
Copy link
Member Author

Tests are failing because gel nightly is broken so doesn't support the feature yet

Copy link
Member

@fantix fantix left a comment

Choose a reason for hiding this comment

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

Cool!

gel/abstract.py Outdated
@@ -597,6 +597,31 @@ def query_sql(
)
)

def query_graphql_json(
self,
query: str | Queryable[_T_ql],
Copy link
Member

Choose a reason for hiding this comment

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

The Queryable protocol is for EdgeQL, so these should only accept str.

There is not a non-JSON method, since making that work will be tricky
for annoying reasons, but I want to have it eventually.
@msullivan msullivan merged commit c417883 into master Aug 26, 2025
42 checks passed
@msullivan msullivan deleted the query_graphql branch August 26, 2025 20:48
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.

3 participants