We are planning to introduce GraphQL support in PyNest. This enhancement will involve several key steps to ensure seamless integration and robust functionality. Here's the proposed plan:
1. Framework Selection
Decide between using Graphene or Strawberry as the GraphQL framework. This choice will be based on factors like performance, ease of use, and community support.
2. Creating a PyNest-GraphQL App
Develop a new application that integrates PyNest with the chosen GraphQL framework. This step will serve as a foundational layer for GraphQL support in PyNest.
2.1. Support GraphQL with SQLAlchemy
Implement GraphQL integration in PyNest using SQLAlchemy. This will cater to applications that use SQL databases.
2.2. Support GraphQL with MongoDB
Implement GraphQL integration in PyNest using MongoDB. This will be tailored for applications that prefer using NoSQL databases.
3. Core Feature Implementation
Implement core features to provide out-of-the-box support for GraphQL in PyNest. This includes setting up the necessary infrastructure and ensuring compatibility with existing PyNest features.
4. Boilerplate Code and Auto-Generation Templates
Develop templates for GraphQL to facilitate easy setup and auto-generation of boilerplate code. This will help in streamlining the development process for PyNest applications using GraphQL.
Conclusion
This enhancement will significantly broaden the capabilities of PyNest, making it more versatile and appealing to a wider range of developers. We look forward to community feedback and contributions!
Description
We are planning to introduce GraphQL support in PyNest. This enhancement will involve several key steps to ensure seamless integration and robust functionality. Here's the proposed plan:
1. Framework Selection
Decide between using Graphene or Strawberry as the GraphQL framework. This choice will be based on factors like performance, ease of use, and community support.
2. Creating a PyNest-GraphQL App
Develop a new application that integrates PyNest with the chosen GraphQL framework. This step will serve as a foundational layer for GraphQL support in PyNest.
2.1. Support GraphQL with SQLAlchemy
Implement GraphQL integration in PyNest using SQLAlchemy. This will cater to applications that use SQL databases.
2.2. Support GraphQL with MongoDB
Implement GraphQL integration in PyNest using MongoDB. This will be tailored for applications that prefer using NoSQL databases.
3. Core Feature Implementation
Implement core features to provide out-of-the-box support for GraphQL in PyNest. This includes setting up the necessary infrastructure and ensuring compatibility with existing PyNest features.
4. Boilerplate Code and Auto-Generation Templates
Develop templates for GraphQL to facilitate easy setup and auto-generation of boilerplate code. This will help in streamlining the development process for PyNest applications using GraphQL.
Conclusion
This enhancement will significantly broaden the capabilities of PyNest, making it more versatile and appealing to a wider range of developers. We look forward to community feedback and contributions!