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

new datatype 'fqdn' #24

Merged
merged 1 commit into from
Mar 24, 2021
Merged

new datatype 'fqdn' #24

merged 1 commit into from
Mar 24, 2021

Conversation

hmmr
Copy link

@hmmr hmmr commented Mar 24, 2021

It would be nice to have 'fqdn' as a new datatype, separate from the existing 'ip' but with the convenience of parsing "example.com:2020" into {"example.com", 2020} that the latter comes with.

FQDNs, as opposed to ip addresses, are used in riak_cs.schema, and tests existing in 2.1 are broken with the current cuttlefish. This is because it now (in contrast to cuttlefish used in riak_cs 2.1, passes the IPString to inet:parse_address/1.

I made the changes to support this new type in that introduces this new datatype, kindly for your review.

@michaelklishin michaelklishin merged commit f62037c into Kyorai:master Mar 24, 2021
@michaelklishin
Copy link
Collaborator

I like it. Thank you!

@hmmr hmmr deleted the fqdn-datatype branch March 24, 2021 21:14
@michaelklishin
Copy link
Collaborator

This went into 3.0.1 (not intended for a patch release but was shipped together with #25).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants