-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rename attributes hash
to partition_key
and range
to sort_key
#76
Rename attributes hash
to partition_key
and range
to sort_key
#76
Conversation
869000d
to
971472b
Compare
Will do. |
Done! |
Seeing some errors in travis
|
Prior to this commit these attributes would be used like so. ```rust struct Book { #[partition_key] title: String, #[sort_key] publish_year: u32, } ``` Now they must be used like so. ```rust struct Book { #[dynomite(partition_key)] title: String, #[dynomite(sort_key)] publish_year: u32, } ```
8dc9465
to
07bf8f1
Compare
Oh oops, I forgot to remove the intentionally duplicate |
The latest Travis failure seems to not be caused by this PR but by |
This is fine. I see rustfmt is broken on nightly https://rust-lang-nursery.github.io/rust-toolstate/ |
I'll try to get a new release out this week |
@phrohdoh thanks again for your work on this I just published 0.6.0 with these changes |
What did you implement:
Renamed attributes
hash
topartition_key
andrange
tosort_key
.See reasoning in #69.
Closes: #69
How did you verify your change:
What (if anything) would need to be called out in the CHANGELOG for the next release:
This is a breaking change so we should call out the rename and probably bump to
0.6
.