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

feat: add graphql implementation using hot chocolate #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Harish-osmosys
Copy link

@Harish-osmosys Harish-osmosys commented Feb 12, 2024

This pull request introduces a proof of concept (PoC) for GraphQL integration in a .NET Core project, leveraging the HotChocolate NuGet package. The primary focus is on showcasing the implementation through the utilization of the "TaskDetails" table from the PineStem project.

Key Changes:

  1. Integration of GraphQL in a .NET Core project:

    • The integration is done using the HotChocolate NuGet package, which is specifically designed for GraphQL implementation in .NET Core projects.
  2. Utilization of TaskDetails for Implementation Showcase:

    • The implementation demonstrates the capabilities of GraphQL by utilizing the "TaskDetails" table from the PineStem project, providing a practical example.
  3. Efficient Data Retrieval with GraphQL:

    • Replacing existing REST calls with GraphQL results in more efficient data retrieval, allowing clients to request only the specific data they need.
  4. Reduced Server Load by Fetching Only Required Data:

    • The implementation focuses on reducing server load by fetching only the data required, optimizing performance and resource utilization.
  5. Schema and Types Definition Format:

    • Demonstrates how to define a GraphQL schema and types, providing a clear and structured format for organizing the GraphQL implementation.
  6. Setup of Resolver and Repository for GraphQL:

    • Highlights the steps to set up resolvers and repositories to seamlessly integrate GraphQL into the .NET Core project.

This pull request aims to exhibit the seamless integration of GraphQL using the HotChocolate package in a .NET Core environment while emphasizing efficiency, maintainability, and practical application within the PineStem project.

@Harish-osmosys Harish-osmosys self-assigned this Feb 12, 2024
README.md Show resolved Hide resolved
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