Skip to content

Conversation

@NemoDacremont
Copy link
Contributor

Sorry for the amount of patches I'm submitting, this one is smaller and straight forward.

It fixes #467, it uses the same create flag as in Validate to know if it should drop the type attribute.

@Tinyblargon Tinyblargon added type/enhancement An improvement of existing functionality modifies/go Pull requests that update Go code size/S Denotes a PR that changes 10-29 lines, ignoring generated files test/needen This PR has to be tested labels Oct 14, 2025
@NemoDacremont
Copy link
Contributor Author

NemoDacremont commented Oct 15, 2025

wait, I submitted shit, I shouldn't have used the FromJSON and read correctly the style guide, I come back with a better rewrite.
edit: nvm I'll wait for your feedback because I'm not sure how you want to implement it

However, I made a breaking change in GetSDNZone, which is not ideal. Before, GetSDNZone returned a json like {"data": {...actual data}}, which is confusing, now it directly returns the expected data, What do you think about it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modifies/go Pull requests that update Go code size/S Denotes a PR that changes 10-29 lines, ignoring generated files test/needen This PR has to be tested type/enhancement An improvement of existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: ConfigSDNZone.mapToApiValues seems broken

2 participants