Skip to content

fix: incorrect data type in UpdateCustomNameserverZoneMetadataParams#1410

Merged
jacobbednarz merged 4 commits intocloudflare:masterfrom
rwhelan:custom_ns_set_data_type
Oct 2, 2023
Merged

fix: incorrect data type in UpdateCustomNameserverZoneMetadataParams#1410
jacobbednarz merged 4 commits intocloudflare:masterfrom
rwhelan:custom_ns_set_data_type

Conversation

@rwhelan
Copy link
Copy Markdown

@rwhelan rwhelan commented Sep 26, 2023

Description

Incorrect data type in UpdateCustomNameserverZoneMetadataParams struct. Using as-is would return a 500.

the ns_set field is an int but the struct is currently setup with a string

Has your change been tested?

Found out the API would not accept the request without being an int.

Screenshots (if appropriate):

Types of changes

What sort of change does your code introduce/modify?

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • This change is using publicly documented in cloudflare/api-schemas
    and relies on stable APIs.

@github-actions
Copy link
Copy Markdown

changelog detected ✅

Comment thread custom_nameservers_test.go Outdated
Comment thread custom_nameservers_test.go Outdated
Comment thread .changelog/1410.txt Outdated
@jacobbednarz jacobbednarz merged commit daee01d into cloudflare:master Oct 2, 2023
@github-actions github-actions Bot added this to the v0.79.0 milestone Oct 2, 2023
@jacobbednarz
Copy link
Copy Markdown
Contributor

thanks for this @rwhelan ✌️

github-actions Bot pushed a commit that referenced this pull request Oct 2, 2023
@github-actions
Copy link
Copy Markdown

This functionality has been released in v0.79.0.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants