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

Moved common block editing code into single function, repointed existing block editors to use that as well #1460

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

sinisijacob
Copy link
Contributor

There was some boilerplate code for the various section editors, so when writing the new add_resource_configuration I decided to move that logic into a common function and point the others to it with the block arg filled in.

This may also be applicable to add_bypass and add_policy, but since that seemed like a bit larger of a refactor I've left it for now.

Feedback appreciated.

@zachdaniel
Copy link
Contributor

🚀 Thank you for your contribution! 🚀

@zachdaniel zachdaniel merged commit 241e7b6 into ash-project:main Sep 13, 2024
28 of 32 checks passed
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.

2 participants