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

Added throws in Property initialization #37

Merged
merged 2 commits into from Mar 26, 2023
Merged

Added throws in Property initialization #37

merged 2 commits into from Mar 26, 2023

Conversation

o-nnerb
Copy link
Member

@o-nnerb o-nnerb commented Mar 26, 2023

Description

The Pull Request (PR) proposed based on the feature proposal in issue #15 aims to implement a new feature that allows the execution of asynchronous commands that may generate errors during property initialization.

The PR includes an update to the Property protocol declaration, which now allows the throws keyword in the makeProperty function. This means that developers can now execute code that may generate errors during property initialization.

The PR also includes some updates to the syntax of asynchronous codes that may also generate errors, so that they follow the same syntax as property initialization. This standardization helps make the code more consistent and easy to understand.

With this new feature, developers now have the option to execute code that generates errors during property initialization, improving code robustness and making error debugging easier. This PR has passed unit tests to ensure that the new feature is working correctly.

Fixes #15

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@o-nnerb o-nnerb added the enhancement New feature or request label Mar 26, 2023
@o-nnerb o-nnerb added this to the 1.0.3 milestone Mar 26, 2023
@o-nnerb o-nnerb self-assigned this Mar 26, 2023
@o-nnerb o-nnerb linked an issue Mar 26, 2023 that may be closed by this pull request
@o-nnerb o-nnerb merged commit 0e944e7 into main Mar 26, 2023
3 checks passed
@o-nnerb o-nnerb deleted the 15-throwing-errors branch March 26, 2023 10:31
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.

Feature proposal: Throwing Errors in Property Initialization
1 participant