-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Create reusable utility for agenda folder validation #3217
Comments
This issue is available for assignment |
@palisadoes please assign this issue to me as I will also work with the same in frontend later on in a feature request |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
Unassigning due to inactivity and/or no submitted PR. Others need to get a chance. Please let us know whether you want to be reassigned before someone else requests assignment or select another issue. |
@Cioppolo14 please reassign. |
This issue will need to create another common mutation function with defining the type of drizzle client only with the schema it interacts overall with all the mutations that presently has this logic. As they get the drizzle client from the context, their type is predefined. |
Background
Currently, agenda folder validation logic is duplicated across different mutations. This includes checking if:
Proposal
Create a reusable utility function to centralize this validation logic, making the code more maintainable and reducing duplication.
References
Notes
/cc @shivasankaran18
The text was updated successfully, but these errors were encountered: