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/is-form-public: migrate isFormPublic middleware to TypeScript #791

Merged
merged 6 commits into from
Dec 11, 2020

Conversation

liangyuanruo
Copy link
Contributor

Problem

Addresses #144

Solution

The existing isFormPublic middleware function was mirroring another function of the same name in form.service.ts, so I ported the middleware function to be built on the service instead.

@karrui
Copy link
Contributor

karrui commented Dec 2, 2020

this one i migrate liow (in auth.service.ts), just havent migrate the middleware 😢 nvm can have both for now haha

@liangyuanruo
Copy link
Contributor Author

this one i migrate liow (in auth.service.ts), just havent migrate the middleware 😢 nvm can have both for now haha

Yeah, I'm porting it over first since it's still in production use. We can refactor to collapse the controllers later if we like. Can help approve?

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

@liangyuanruo liangyuanruo merged commit a8ec327 into develop Dec 11, 2020
@liangyuanruo liangyuanruo deleted the refactor/is-form-public branch December 11, 2020 05:02
@karrui karrui mentioned this pull request Dec 14, 2020
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.

None yet

2 participants