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

refactor(data-types): convert mysql data-types to TS #13981

Closed
wants to merge 1 commit into from

Conversation

wbourne0
Copy link
Member

@wbourne0 wbourne0 commented Jan 21, 2022

Note: This is a child PR of #13799 - it should only be merged into that branch when both this pr and that pr have been approved.

(note: omitted the PR checklist as it isn't really relevant here)

Description Of Change

converts mysql-specific data-types to TS.

Also refactors the data-types to work with the (proposed) format from the master pr, #13799.

@wbourne0 wbourne0 added type: refactor For issues and PRs. Things that improve the code readability, maintainability, testability, etc. dialect: mysql For issues and PRs. Things that involve MySQL (and do not involve all dialects). type: typescript For issues and PRs. Things that involve typescript, such as typings and intellisense. labels Jan 21, 2022
@wbourne0 wbourne0 self-assigned this Jan 21, 2022
@WikiRik
Copy link
Member

WikiRik commented Jan 21, 2022

The lodash types are added in #13782 which I think we'll merge first and then you can merge/rebase main in the various branches

Copy link
Member

@WikiRik WikiRik left a comment

Choose a reason for hiding this comment

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

Two remarks on the package.json. Also would like to point out that we check for expiring TODOs (as a linter warning); https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/expiring-todo-comments.md
Not sure if they really fit in this PR but just so you know about them

package.json Outdated
"@types/chai": "4.3.0",
"@types/mocha": "9.0.0",
"@types/mysql": "^2.15.20",
Copy link
Member

Choose a reason for hiding this comment

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

This one needs to be pinned, otherwise renovate will do that

package.json Outdated
@@ -58,14 +58,15 @@
"wkx": "^0.5.0"
},
"devDependencies": {
"@rushstack/eslint-patch": "1.1.0",
Copy link
Member

Choose a reason for hiding this comment

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

I can remember other PRs that also change this and ibm_db so we don't have to do this here. I'll check which one and if that one is not looking like it will be merged soon I will make a separate PR

Refactors mysql-specific dialect types to be TS and to work with the new
DataTypes format.
@ephys ephys mentioned this pull request May 13, 2022
42 tasks
@wbourne0
Copy link
Member Author

Closing in favor of #14505.

@wbourne0 wbourne0 closed this Sep 16, 2022
@ephys ephys deleted the typeify-mysql-data-types branch October 3, 2022 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialect: mysql For issues and PRs. Things that involve MySQL (and do not involve all dialects). type: refactor For issues and PRs. Things that improve the code readability, maintainability, testability, etc. type: typescript For issues and PRs. Things that involve typescript, such as typings and intellisense.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants