basho / cuttlefish

never lose your childlike sense of wonder baby cuttlefish, promise me?
Apache License 2.0
205 stars 124 forks source link

More flexible IP datatype [JIRA: RIAK-2083] #182

Open macintux opened 9 years ago

macintux commented 9 years ago

Would be nice were cuttlefish_datatypes:from_string to be able to parse CIDR and handle raw IP (no port) notation.

macintux commented 8 years ago

Looking at the problem of ports, but I don't see a risk-free way of doing so. Maybe if/when we decide to make a 1.0 we can make a backwards-incompatible change like that

saa commented 8 years ago

+1

tsloughter commented 8 years ago

It would be great if it could also handle just any uri or at the very least domain:port. The latter is the one I most often have wanted to use with cuttlefish and been unable to. Unless there is a datatype I've missed that supports those?