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

refactor: shard public forms router #1669

Merged
merged 4 commits into from
Apr 20, 2021

Conversation

seaerchin
Copy link
Contributor

Problem

PublicFormsRouter is getting too big and we should shard each sub component out into their own folder for greater maintainability. This follows the AdminFormsRouter hierarchy.

Solution

Shard them out into their own folder and shards tests also.

realised that public form is getting bloated adn we should not keep every route in the same file but
rather, shard by responsiblity. hence, this (mini) pr is for doign that before starting on auth
router to prevent excess bloat from accumulating
@seaerchin seaerchin requested review from karrui and mantariksh April 19, 2021 04:07
Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should change the directory name

Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@seaerchin seaerchin merged commit f1928bb into develop Apr 20, 2021
@seaerchin seaerchin deleted the refactor/shard-public-forms-router branch April 20, 2021 10:30
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.

3 participants