-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
[change] Create reusable function for errors #357
Labels
enhancement
New feature or request
Comments
Can I work on this? |
Sure, go ahead 👍 |
@codesankalp Yeah, sure. |
codesankalp
added a commit
that referenced
this issue
Aug 24, 2021
Added get-error-field to remove repeated code. Closes #357
codesankalp
added a commit
that referenced
this issue
Aug 24, 2021
Added get-error-field to remove repeated code. Closes #357
@iamvaishnav take a look at #362, maybe it's something that interests you? Come to the OpenWISP support chat if you have any question or to better coordinate with us. |
nemesifier
pushed a commit
that referenced
this issue
Aug 24, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now we are including a lot of code like:
Maybe we can create an utility function (not sure if it's worth it to have another component for this as it will complicate the tree a lot) for this? This would give us the following advantages:
I am thinking of something like:
The text was updated successfully, but these errors were encountered: