Skip to content

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

Closed
wbourne0 wants to merge 1 commit into
typeify-data-typesfrom
typeify-mysql-data-types
Closed

wbourne0 wants to merge 1 commit into
typeify-data-typesfrom
typeify-mysql-data-types

Conversation

@wbourne0

@wbourne0 wbourne0 commented Jan 21, 2022 •

Copy link
Copy Markdown
Member

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 DEPRECATED: replace with the "meta" issue type dialect: mysql For issues and PRs. Things that involve MySQL (and do not involve all dialects). 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

WikiRik commented Jan 21, 2022

Copy link
Copy Markdown
Member

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

@WikiRik WikiRik left a comment

Copy link
Copy Markdown
Member

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

Comment thread package.json Outdated
"@rushstack/eslint-patch": "1.1.0",
"@types/chai": "4.3.0",
"@types/mocha": "9.0.0",
"@types/mysql": "^2.15.20",

Copy link
Copy Markdown
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

Comment thread package.json Outdated
"wkx": "^0.5.0"
},
"devDependencies": {
"@rushstack/eslint-patch": "1.1.0",

Copy link
Copy Markdown
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

@github-actions github-actions Bot added the stale label Feb 5, 2022
@wbourne0 wbourne0 removed the stale label Feb 10, 2022
@wbourne0
wbourne0 force-pushed the typeify-mysql-data-types branch from 3bf9417 to 361ae11 Compare March 5, 2022 02:17
@wbourne0
wbourne0 force-pushed the typeify-mysql-data-types branch from 361ae11 to 9460468 Compare March 12, 2022 05:14
@wbourne0
wbourne0 force-pushed the typeify-data-types branch from 6de690b to 210279c Compare March 12, 2022 05:20
Refactors mysql-specific dialect types to be TS and to work with the new
DataTypes format.
@wbourne0
wbourne0 force-pushed the typeify-mysql-data-types branch from 9460468 to 8fe1660 Compare March 12, 2022 05:55
@ephys ephys mentioned this pull request May 13, 2022
38 of 42 tasks
@wbourne0

Copy link
Copy Markdown
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 DEPRECATED: replace with the "meta" issue 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.

2 participants