-
Notifications
You must be signed in to change notification settings - Fork 34
feat:validation of resume #49
Copy link
Copy link
Open
Labels
advancerequire prior knowledgerequire prior knowledgebugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requesthacktoberfesthelp wantedExtra attention is neededExtra attention is neededinvalidThis doesn't seem rightThis doesn't seem right
Metadata
Metadata
Assignees
Labels
advancerequire prior knowledgerequire prior knowledgebugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requesthacktoberfesthelp wantedExtra attention is neededExtra attention is neededinvalidThis doesn't seem rightThis doesn't seem right
I observed that a few guys are changing the format of the resume, due to which the application is crashing.
Solution:
Using ZOD for validating the resume before rendering, and displaying the error if found.
By doing this the page will we displayed with a proper message, instead of crashing.