Skip to content

Conversation

Thundernerd
Copy link
Owner

Proposed changes

I was struggling to find a way to instantiate a referenced Object. I created some extension methods that allow you to instantiate the referenced Object and return the interface.

Types of changes

  • Bugfix (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 not work as expected)
  • Refactoring (no functional changes, no api changes)
  • Code style update (formatting, renaming)
  • Build related changes (workflow changes)
  • Documentation Update (readme, changelog)
  • Other, please describe:

Issue

Link

What is the current behavior?

Cannot instantiate referenced Object

What is the new behavior?

Added support for instantiating Objects

Checklist

  • The code compiles
  • I have tested that this doesn't break existing code (unless it is an explicit breaking change)
  • I have tested that the (new) functionality/fix works as intended
  • I have added necessary documentation (if appropriate)

Further comments

I'm pretty sure there may be additional safety checks required for edge cases.

@Thundernerd Thundernerd merged commit de0b647 into Thundernerd:main Feb 9, 2024
Thundernerd pushed a commit that referenced this pull request Feb 9, 2024
## [2.2.0](v2.1.0...v2.2.0) (2024-02-09)

### Features

* instantiation support ([#62](#62)) ([de0b647](de0b647))
@Thundernerd
Copy link
Owner Author

🎉 This PR is included in version 2.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants