Project-Books / books-api

GraphQL Books API
https://project-books.github.io/#books-api
MIT License
36 stars 59 forks source link

Add literary awards entity 15 #140

Closed hpa16 closed 2 years ago

hpa16 commented 2 years ago

Summary of change

Added awards entity with awardName as an enum. Added a query to get all books that have won a certain award Added mutations to add or delete awards DB migration: Added 2 books through INSERT_BOOKS.sql to showcase the books-awards link

Related issue

Closes #15

Pull request checklist

Please keep this checklist in & ensure you have done the following:

For any of the optional checkboxes (e.g. the screenshots one), still check it if it does not apply.

If in doubt, get in touch with us via our Slack workspace or by creating a new Q&A discussion on GitHub

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 28 Code Smells

51.1% 51.1% Coverage
0.0% 0.0% Duplication

knjk04 commented 2 years ago

@hpa16 Could you also please resolve the merge conflicts? Thanks!

hpa16 commented 2 years ago

@knjk04 I'm having some problems merging it into this branch. Let me close this and create a new PR with the latest code.

hpa16 commented 2 years ago

Opened a new PR: #142