-
Notifications
You must be signed in to change notification settings - Fork 62
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
Significant Updates #4
base: master
Are you sure you want to change the base?
Conversation
I still need to add code for psubscribe, and find a method to handle wildcards
I still need to work on cleaning up once Dispose() is called. I'll eventually break everything out into separate files for maintainability also...
backward compatiblity with redis 1.x.x
Also started creating extension methods for getting and setting of serializable objects
work on GetEnumerator()
Also starte reimplementing Set commands
reflect these changes
I looked through the changes and I noticed some significant changes in the refactoring. Usually it is best if you separate "refactoring" from "feature development" so they can be reviewed independently. For instance, the file "redis.cs" is gone, and the code has gone elsewhere. Now, I could sit down and compare each line and figure out what you did, but it would be best if you describe to me one-by-one all of the changes that are included in this patch. You did split redis.cs into a few files, and I would like to have an explanation of the rationale for the split. I see that the Redis class is now a front-end to RedisBase, why were some methods kept in RedisBase and why could the other ones not be added there and were left in Redis? That sort of thing. In general, smaller commits, with small explanations of the changes are easier to merge. |
Miguel,
I did some slight refactoring of the code to facilitate support for the publish and subscribe commands that are available in Redis 2 and above. I also added a couple of extension methods that will serialize (or deserialize) objects to (or from) a given key in redis. I also created C# classes that represent sets and lists within redis.
Thanks,
Jonathan