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

GraphQL endpoint to interact with the application layer #11

Open
jhiben opened this issue Oct 19, 2023 · 1 comment · May be fixed by #52
Open

GraphQL endpoint to interact with the application layer #11

jhiben opened this issue Oct 19, 2023 · 1 comment · May be fixed by #52
Assignees

Comments

@jhiben
Copy link
Owner

jhiben commented Oct 19, 2023

I want my domain data to be available through a graphql endpoint.
An application layer may be needed.

@jhiben jhiben self-assigned this Oct 19, 2023
@jhiben
Copy link
Owner Author

jhiben commented Nov 14, 2024

The CRUD models can be ignored.

jhiben added a commit that referenced this issue Nov 14, 2024
Fixes #11

Add GraphQL endpoint to interact with the application layer.

* **GraphQL Schema and Queries**
  - Add `WorkoutRecordsSchema.cs` to define the GraphQL schema.
  - Add `WorkoutRecordsQuery.cs` to implement the root query for fetching workout records.
  - Add `WorkoutRecordsMutation.cs` to implement the root mutation for creating workout records.

* **GraphQL Types**
  - Add `MovementType.cs` to define the GraphQL type for the `Movement` domain model.
  - Add `WorkoutType.cs` to define the GraphQL type for the `Workout` domain model.
  - Add `WorkoutMovementType.cs` to define the GraphQL type for the `WorkoutMovement` domain model.
  - Add `WorkoutRecordType.cs` to define the GraphQL type for the `WorkoutRecord` domain model.

* **Startup Configuration**
  - Add `Startup.cs` to configure GraphQL services and middleware.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/jhiben/workout-records-api-dotnet/issues/11?shareId=XXXX-XXXX-XXXX-XXXX).
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 a pull request may close this issue.

1 participant