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

Only send relevant info about courses to frontend #726

Closed
wants to merge 4 commits into from

Conversation

cubetastic33
Copy link
Member

Should fix issue that currently breaks develop - the size of the response from trpc function that returns info about courses is too big. This commit will change it so the trpc function only returns relevant fields, and there's a separate server-side function that includes pre and coreqs for use by validator.ts

@cubetastic33 cubetastic33 requested a review from a team as a code owner October 26, 2023 23:49
@github-actions
Copy link

kamui-fin
kamui-fin previously approved these changes Oct 30, 2023
@kamui-fin kamui-fin dismissed their stale review October 30, 2023 18:36

Pre-requisite warning does not show up in preview now

Copy link
Contributor

@kamui-fin kamui-fin left a comment

Choose a reason for hiding this comment

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

Pre-requisite warnings no longer show up on preview now. Was the earlier getRequisites function logic a dependency for the trpc request for validator.ts?

image

Also, you can run eslint --fix to pass CI.

@github-actions
Copy link

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