Skip to content
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

Support passing ResourceRecord objects when creating new records #148

Merged
merged 9 commits into from
Nov 20, 2023

Conversation

bennetgallein
Copy link
Contributor

Description

As proposed in this discussion: #146 here would be an implementation for the mentioned.

Motivation and context

Keeping track of what parameters to give to the create method can get complicated. By enabling the developer to pass Objects we enable a cleaner syntax + enable the usage of auto-complete and other IDE features.

How has this been tested?

tests are passing, I have tested on 8.1 in my dev-env

Screenshots (if appropriate)

Checklist:

Go over all the following points, and put an x in all the boxes that apply.

Please, please, please, don't send your pull request until all of the boxes are ticked. Once your pull request is created, it will trigger a build on our continuous integration server to make sure your tests pass.

  • I have read the CONTRIBUTING document.
  • My pull request addresses exactly one patch/feature.
  • My pull request contains a title that can be used as a release note.
  • I have created a branch for this patch/feature.
  • Each individual commit in the pull request is meaningful.
  • I have added tests to cover my changes.
  • If my change requires a change to the documentation, I have updated it accordingly.

If you're unsure about any of these, don't hesitate to ask. We're here to help!

@bennetgallein bennetgallein changed the title Feat/create object support feat(create-resource): object support Oct 27, 2023
@trizz trizz added the enhancement Enhancement of the code, not introducing new features. label Oct 27, 2023
@trizz
Copy link
Member

trizz commented Oct 27, 2023

Hi @bennetgallein ,

Thanks for your contribution! I'll take a deeper look at it today or at the start of next week, but at a first glance it looks very nice. Thanks again and have a nice weekend!

@bennetgallein
Copy link
Contributor Author

Hey @trizz

I'm back from vacation and ready to continue work on this if wanted :) Let me know

@trizz trizz changed the title feat(create-resource): object support Support passing ResourceRecord objects when creating new records Nov 20, 2023
@trizz trizz merged commit 8b25fc0 into exonet:master Nov 20, 2023
2 of 3 checks passed
@trizz
Copy link
Member

trizz commented Nov 20, 2023

Thanks for your contribution @bennetgallein! I've just tagged a release with this feature.

@bennetgallein bennetgallein deleted the feat/create-object-support branch May 11, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of the code, not introducing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants