Skip to content

Conversation

@lgarber-akamai
Copy link
Contributor

@lgarber-akamai lgarber-akamai commented Mar 24, 2023

📝 Description

This change allows users to specify null as a value for fields that are marked as nullable in the API spec. This is useful for situations where the API may have certain functionality tied to having a certain value be explicitly null (e.g. RDNS resets)

e.g.

linode-cli networking ip-update --rdns null 127.0.0.1

NOTE: This will need to be partially reworked after the spec parser refactor, but the change should be relatively straightforward.

Resolves #266

✔️ How to Test

make testunit

@lgarber-akamai lgarber-akamai requested a review from a team March 24, 2023 16:18
@zliang-akamai zliang-akamai requested a review from a team May 19, 2023 15:04
Copy link
Collaborator

@jriddle-linode jriddle-linode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good, will require a couple small changes to spec parser PR but nothing major. Good to merge before parser IMO.

@zliang-akamai
Copy link
Member

Any update on this? @lgarber-akamai

@lgarber-akamai
Copy link
Contributor Author

@zliang-akamai I plan on updating and re-requesting reviews on this once the OpenAPI spec has been merged to main 👍

@lgarber-akamai lgarber-akamai force-pushed the new/add-support-for-nullable-strings branch from febca0b to ba557fa Compare August 3, 2023 17:43
@lgarber-akamai lgarber-akamai requested a review from a team August 3, 2023 19:31
Copy link
Member

@zliang-akamai zliang-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good!

Copy link
Member

@zliang-akamai zliang-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The refactoring was awesome!

@lgarber-akamai lgarber-akamai merged commit ba57de8 into linode:dev Aug 14, 2023
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.

Add ability to clear rDNS

4 participants