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

scylla_cql: autoderive Default for Consistency #740

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

wprzytula
Copy link
Collaborator

@wprzytula wprzytula commented Jun 7, 2023

As the awaited issue in num_enum crate has been resolved in its 0.6 release, it is now possible to derive Default for Consistency automatically.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • [ ] I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • [ ] I have provided docstrings for the public items that I want to introduce.
  • [ ] I have adjusted the documentation in ./docs/source/.
  • [ ] I added appropriate Fixes: annotations to PR description.

@wprzytula wprzytula requested a review from piodul June 7, 2023 14:49
@wprzytula wprzytula force-pushed the default-consistency-auto-derive branch from 2621ce3 to 942d8a5 Compare June 7, 2023 14:50
@piodul piodul added the API-breaking This might introduce incompatible API changes label Jun 13, 2023
@wprzytula wprzytula added this to the 0.9.0 milestone Jun 29, 2023
@wprzytula
Copy link
Collaborator Author

@piodul as we are already heading towards 0.9, can we merge this?

@piodul
Copy link
Collaborator

piodul commented Jul 26, 2023

As the awaited issue in num_enum crate has been resolved in its 0.6 release

What issue? The description should be more specific.

Copy link
Collaborator

@piodul piodul left a comment

Choose a reason for hiding this comment

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

Please improve the commit message & PR description and then it will be good to merge.

As the awaited issue in `num_enum` crate
(illicitonion/num_enum#75) has been resolved
in its 0.6 release, it is now possible to derive Default for Consistency
automatically.
@wprzytula wprzytula force-pushed the default-consistency-auto-derive branch from 942d8a5 to 61c21d9 Compare July 26, 2023 06:29
@wprzytula
Copy link
Collaborator Author

Please improve the commit message & PR description and then it will be good to merge.

done.

@wprzytula wprzytula requested a review from piodul July 26, 2023 06:31
@piodul piodul merged commit 22c4519 into scylladb:main Jul 27, 2023
@wprzytula wprzytula deleted the default-consistency-auto-derive branch March 5, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API-breaking This might introduce incompatible API changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants