-
Notifications
You must be signed in to change notification settings - Fork 57
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
Validates client config #1083
base: feature/distributed-demo
Are you sure you want to change the base?
Validates client config #1083
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@atomicgamedeveloper thanks for the PR. Please check the comments.
…cgamedeveloper/DTaaS into 658-validate-client-config
@@ -90,7 +90,8 @@ | |||
"resize-observer-polyfill": "^1.5.1", | |||
"serve": "^14.2.1", | |||
"styled-components": "^6.1.1", | |||
"typescript": "5.1.6" | |||
"typescript": "5.1.6", | |||
"zod": "^3.23.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@atomicgamedeveloper
Is this used? Overall, it is better to move the config verification logic into util/config.ts
. The zod can be used there.
Title
Validates client config.
Fixes #658
Type of Change
Description
This PR will provide a route to validate the client config file. A comprehensive, manual one for developers, and another one that automatically redirects users in case their config is incorrectly setup or URLs are unreachable.
It will also update the client dependencies. Related to issue #658.
Testing
Manual testing for now.
Impact
Additional Information
None.
Checklist
existing code.