{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/18"}],"enrichment":{"capability":"Adds promise-based resolver and dataloader support to graphql-core v3+, enabling synchronous promise patterns as an alternative to asyncio for GraphQL execution.","skillfed_tags":["graphql-execution","promise-patterns","migration-aid"],"use_cases":["Migrate graphene 2 projects to graphene 3 without rewriting all promise-based dataloaders and resolvers.","Use promise-based patterns in graphql-core v3+ when your team is more familiar with promise semantics than asyncio.","Integrate graphql-core-promise with graphene-django by passing PromiseExecutionContext to GraphQLView.","Maintain backward compatibility with existing promise-based GraphQL resolver libraries during a major version upgrade."],"what_it_does":"graphql-core-promise bridges the gap between promise-based patterns (common in graphene 2 and JavaScript GraphQL libraries) and graphql-core v3+, which defaults to asyncio. It provides a drop-in ExecutionContext replacement that translates asyncio code into promise-based equivalents, allowing existing dataloaders and resolvers written for promise patterns to work without rewriting.\n\nThe package is particularly useful for teams migrating from graphene 2 to graphene 3 who have invested in promise-based resolver logic and want to avoid a full asyncio refactor. It integrates cleanly with graphene-django by accepting an execution_context_class argument, making it a minimal integration point rather than a wholesale architecture change.","worth_installing":"Yes, if you are migrating from graphene 2 to graphene 3 and have significant promise-based resolver code you want to preserve without rewriting. The low install friction and permissive license make it a practical bridge. However, the aging maintenance status (525 days since last release) means you should verify compatibility with your target graphql-core version and be prepared to maintain a fork if upstream support lapses."},"id":"graphql-core-promise","links":{"html":"https://skillfed.io/packages/graphql-core-promise","md":"https://skillfed.io/packages/graphql-core-promise.md","pypi":"https://pypi.org/project/graphql-core-promise/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-03-07","license_spdx":null,"license_treatment":"permissive","name":"graphql-core-promise","python_support":"supports_current","summary":"Add support for promise-based dataloaders and resolvers to graphql-core v3+"},"popularity":{"monthly_downloads":134378,"position":11476,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.4.2"}
