BaseMax / BaseMax/first-nodejs-graphql

Bug due to typo, can't create an author.

オープン
#3 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
7
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

Hey there, super neat repo and a nice introduction to the topic of GraphQL. I was actually using this to introduce an intern to the concept. It's been very helpful to quickly put a presentation together. I did notice one small bug. Due to a typo, when adding an author, you're not actually getting the length from the authors array. Instead, you've got "author" which throws the error "Cannot access 'author' before initialization".

Here's the whole changelog to fix it:
![image](https://github.com/BaseMax/first-nodejs-graphql/assets/84988462/01239831-199d-4fc4-9ddd-a8d777961903)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by locating the author-creation resolver or entry point and inspect how the authors array length is read. Compare the referenced changelog image with the current code, correct the typo, and verify that creating an author no longer raises "Cannot access 'author' before initialization".

索引モデルが issue の本文から書いたものです。

評価

技術スタック
graphql, javascript, node.js
領域
api, backend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。