-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat!: improve query to support dynein format #187
Conversation
5ac4fde
to
92ce166
Compare
9a81b4d
to
456ef23
Compare
456ef23
to
7eca4dd
Compare
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.
Thank you for adding awesome new feature!
I've left some minor feedback. Could you please check it?
5e6eb1e
to
df93fa4
Compare
@tmyoda Thank you for reviewing thoroughly. Based on your feedback, I updated the commit and commented. Could you please check them? |
465b3c6
to
78e56d8
Compare
78e56d8
to
d75ed8d
Compare
@StoneDot Thank you for updating the PR! I have left 2 comments. If you could check them, that would be great. |
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.
I found some typos in parser.rs. I apologize for submitting the reviews repeatedly.
This improves the query command to support the dynein format in --sort-key. Improvements contain the following features: * Introduce two formats for --sort-key: strict format and non-strict. * You can now query any condition DynamoDB supports using the strict format. * The non-strict format allows the user less typing and types agnostic input. * The non-strict format retains the same experience as much as possible. * Add --strict and --non-strict options to change the usage of non-strict. * Add configuration option and query.strict_mode to change the default mode. BREAKING CHANGE: Parsing --sort-key is incompatible with the previous one. Signed-off-by: Hiroaki Goto <[email protected]>
d75ed8d
to
9a250c3
Compare
Thank you for repeatedly making the requested changes! It looks good to me. The changes are well-organized and clear despite the extensive work. I'm impressed by your attention to detail. |
This improves the query command to support the dynein format in --sort-key. Improvements contain the following features: * Introduce two formats for --sort-key: strict format and non-strict. * You can now query any condition DynamoDB supports using the strict format. * The non-strict format allows the user less typing and types agnostic input. * The non-strict format retains the same experience as much as possible. * Add --strict and --non-strict options to change the usage of non-strict. * Add configuration option and query.strict_mode to change the default mode. BREAKING CHANGE: Parsing --sort-key is incompatible with the previous one. Signed-off-by: Hiroaki Goto <[email protected]>
Issue #, if available:
Implement #163
Description of changes:
This PR improves the parsing for the sort key condition. The current implementation cannot handle the sort key containing spaces. This PR fixes this and provides a way that is compatible with the dynein format.
Improvements contain the following features:
BREAKING CHANGE: Parsing --sort-key is incompatible with the previous one.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.