-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
fix: the type of DomainInfoResponse.NoDelegation #4
Conversation
Hello, could you give more explanation about this change? The doc says:
https://www.inwx.de/en/help/apidoc/f/ch02s08.html#domain.info |
Sure, https://www.inwx.de/en/help/apidoc/f/ch02s08.html#domain.info indicates that NoDelegation should have the type boolean. For some reason for .de domains this field is always true and when the type is set to string the mapping will fail with
|
Have you try with a boolean? could you provide a raw json? |
Yes, with a boolean the result is
What's the easiest way to dump the raw response? |
You can put a resp, err := s.client.Do(*req)
fmt.Println(resp) |
|
Thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
No description provided.