Skip to content

Conversation

@GV14982
Copy link
Contributor

@GV14982 GV14982 commented Jul 19, 2025

Description

  • feat: add rating resolver logic
  • feat: add rating mutation and query for has rating
  • refactor: running sqlfluff, need to add task for it
  • refactor: run sqlfluff on migrations
  • build: add compose entry and tasks for sqlfluff

Checklist

  • I have tested these changes
  • I have updated documentation as needed

Related Issues

Closes #51

GV14982 added 6 commits July 18, 2025 21:42
- Add query for getting the average of all ratings for a revision
- Add query for upserting a revision
- Add those functions to the `recipe` service
- Add logic to `rating` resolver
- Update seed script to insert ratings
- Some small refactoring of seed script
- Fix small regression in nil checking on recipe `list` resolver
- Fix `object-storage` service in `docker-compose.yaml`
- Update `seed` task to always build a fresh image

Closes #50
- Added mutation for a user to upsert a mutation on a revision
- Added field to revision for if the currently logged in user has rated
  it
@GV14982 GV14982 self-assigned this Jul 19, 2025
@GV14982 GV14982 added this to the Backend MVP milestone Jul 25, 2025
@GV14982 GV14982 moved this to In review in Forkd Dev Jul 25, 2025
@GV14982 GV14982 merged commit e2c5d68 into main Jul 25, 2025
3 checks passed
@GV14982 GV14982 deleted the feat/create-rating-mutation branch July 25, 2025 03:24
@github-project-automation github-project-automation bot moved this from In review to Done in Forkd Dev Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add mutation resolver for adding a rating

2 participants