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

ビデオ一覧固定値を返すレスポンス作成 #4

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

Conversation

Higakinn
Copy link
Contributor

No description provided.

@Higakinn Higakinn linked an issue Jun 18, 2022 that may be closed by this pull request
sample.json Outdated
"url": "https://di.phncdn.com/videos/201701/01/100881752/original/(m=eaf8Ggaaaa)(mh=Ap9ThlKHMLwlEKqP)12.jpg"
}
}
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no newline at end of file ってエラーが出たりしているので、最後の一業は1行分開けるようにvscodeの設定すると良いかもです

https://qiita.com/kazuhito_nakayama/items/14c16f1b624ffd2f383c

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ebe23f0 で対応

AllowedOrigins: []string{"*"},
AllowCredentials: true,
})
http.Handle("/query", c.Handler(srv))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

今は全てってなっているので、限定的にしましょう

Comment on lines 32 to 38

// !!! WARNING !!!
// The code below was going to be deleted when updating resolvers. It has been copied here so you have
// one last chance to move it out of harms way if you want. There are two reasons this happens:
// - When renaming or deleting a resolver the old code will be put in here. You can safely delete
// it when you're done.
// - You have helper methods in this file. Move them out to keep these resolver files clean.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

このコメントはどういったあれ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gqlgenが自動で生成したメッセージ。

不要なので以下のコミットで削除した。
ebe23f0 

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