-
Notifications
You must be signed in to change notification settings - Fork 602
Move the keywords
module
#352
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
Conversation
Pull Request Test Coverage Report for Build 1275068126
💛 - Coveralls |
Signed-off-by: koushiro <[email protected]>
/cc @alamb @Dandandan |
So something that would help me understand these PRs is the rationale for making the change. For example, this PR perhaps makes the code structure a bit more logical but won't it require a bunch of rework for all users of the library? |
yes |
perhaps we can reexport the keywords module in dialect module to make it backwards compatible until we do the next major release? |
@alamb has been released v0.11 |
I guess I am just thinking of users of this crate -- when they upgrade to a new version of sqlparser I feel the best experience is to minimize the amount of changes they have to make to their code. For changes required to support new features (e.g. new enum variants or new fields in existing variants) I don't see a way around requiring the user code to change. However, I don't like the idea of causing work for downstream users for changes that are basically internal improvements to Thus, I would be happy to merge this PR if it was backwards compatible (and @houqp has suggested a good way to do that) |
@alamb Now the change is backwards compatible, I originally planned to add deprecated to re-export, like below:
but it doesn't seem to work, see rust-lang/rust#30827 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @koushiro !
Pull Request Test Coverage Report for Build 1272354313Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Signed-off-by: koushiro [email protected]