Skip to content

feat: add additional Get and Update methods #16

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

Merged
merged 6 commits into from
Mar 28, 2025
Merged

Conversation

Valodim
Copy link
Contributor

@Valodim Valodim commented Mar 28, 2025

Hey there, first of all thanks for maintaining this repo :)

there were some methods and fields missing which I need for terraform-provider-desec, so I added them in this PR.

Note in one case I renamed a Get method to GetAll, implementing a Get that is consistent with the other API. The original name was arguably incorrect, and while this is a breaking change it's trivial to fix and I imagine we're not being overly strict on versioning for this repo? If you have an alternative suggestion I'm happy to update.

@ldez ldez added the enhancement New feature or request label Mar 28, 2025
@ldez ldez changed the title Add additional Get and Update methods feat: add additional Get and Update methods Mar 28, 2025
@ldez
Copy link
Member

ldez commented Mar 28, 2025

Hi, I restored the previous lib API:

  • Get deprecation and replacement by GetAll
  • GetOne allows you to get one token policy

Like that, there are no breaking changes.

Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM, thank you.

@ldez ldez merged commit bc8d7e2 into nrdcg:main Mar 28, 2025
7 checks passed
@Valodim Valodim deleted the updates branch March 29, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants