Skip to content

Go: Change how we refer to a query in a change note #14890

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

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Nov 23, 2023

No description provided.

turbo
turbo previously approved these changes Nov 23, 2023
mbg
mbg previously approved these changes Nov 23, 2023
@@ -2,7 +2,7 @@

### Minor Analysis Improvements

* Added the [gin cors](https://github.com/gin-contrib/cors) library to the CorsMisconfiguration.ql query
* Added the [gin cors](https://github.com/gin-contrib/cors) library to the experimental query "CORS misconfiguration" (`go/cors-misconfiguration`).
Copy link
Member

Choose a reason for hiding this comment

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

Should CORS be capitalised in "gin CORS" while we are at it? (Perhaps that would also be better worded as "CORS for gin" or similar.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. It doesn't seem to have a name that people refer to it by. The title of the repo's readme is "CORS gin's middleware" which doesn't make sense to me. I've gone with gin-contrib/cors, as that is how people tend to talk about it, and it makes it clear that it isn't one of the many other library for CORS with gin.

@owen-mc owen-mc dismissed stale reviews from mbg and turbo via 25a2aef November 23, 2023 13:42
@owen-mc owen-mc merged commit 2c99e70 into github:main Nov 23, 2023
@owen-mc owen-mc deleted the go/fix-change-note-query-reference branch November 23, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants