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

Introduce Schema (new high-level api) #155

Merged
merged 6 commits into from
Sep 14, 2024
Merged

Introduce Schema (new high-level api) #155

merged 6 commits into from
Sep 14, 2024

Conversation

kindermax
Copy link
Collaborator

No description provided.

@kindermax kindermax force-pushed the introduce-schema branch 2 times, most recently from 7dfaa4a to 7d2e17b Compare August 8, 2024 14:03
hiku/engine.py Outdated Show resolved Hide resolved
hiku/schema.py Outdated Show resolved Hide resolved
m.kindritskiy added 5 commits September 14, 2024 13:36
- hide engine under the Schema
- add proper type annotations to Engine - make it generic over Executor
- add proper type annotations to Schema - make it generic over executor. Now it understands when Engine.execute returns awaitable
- use mutation graph if query ordered
- add deny_sync param to AsyncIOExecutor and make it work with sync resolvers by default. If user wants to deny sync resolvers it can pass deny_sync=True
@kindermax kindermax force-pushed the introduce-schema branch 2 times, most recently from b985e1f to d43833d Compare September 14, 2024 13:20
@kindermax kindermax marked this pull request as ready for review September 14, 2024 14:41
@kindermax kindermax merged commit 063f7c9 into master Sep 14, 2024
7 checks passed
@kindermax kindermax deleted the introduce-schema branch September 14, 2024 14:42
@kindermax kindermax added this to the Schema high-level api milestone Sep 14, 2024
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