-
Notifications
You must be signed in to change notification settings - Fork 14
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
Rename Dnsimple.Record
to Dnsimple.ZoneRecord
#18
Comments
In the Ruby client it is called |
My understanding is @weppos is considering the Go client to be the reference implementation, but he'll need to confirm. |
It was originally called Both the Ruby and the Go client are kind of reference, but the Go one is generally a little bit more accurate as it's the one I've been spending most time on and was almost rewritten from 0. Moreover, Go is a more strict language, and some decisions were influenced by the Go client because it was the hardest to please so far. I vote to rename both the Ruby and Elixir client to ZoneRecord. |
PS. Here's the relevant commit dnsimple/dnsimple-go@ef7339c |
Does that mean that we should have a different data structure (or object) for records in other contexts (e.g templates) ? EDIT: looks like that's the followed approach Ruby client: https://github.com/aetrion/dnsimple-ruby/blob/master/lib/dnsimple/struct/template_record.rb |
That's correct, it has always been like this. We always had Record vs TemplateRecord (which was one of the reason why I wanted to be more explicit on the name). |
To match the go and ruby clients.
The text was updated successfully, but these errors were encountered: