You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement way to appropriately set the input type of the parameters. For example,
for the sleep plan I added an array for the time but it should be a number.
For now, the web client allows users to input whatever they want and by using JSON.parse, it parses the string or object into what it best believes the type should be however, there are some limitations to using the function for example the string value 'hey' or `hey` would not be accepted because JSON.parse does not read single quotes or backticks but it allows double quotes. So, finding a better way to parse the object would be significant improvement to the overall logic handling of the web client.
The text was updated successfully, but these errors were encountered:
Implement way to appropriately set the input type of the parameters. For example,
for the sleep plan I added an array for the time but it should be a number.
For now, the web client allows users to input whatever they want and by using JSON.parse, it parses the string or object into what it best believes the type should be however, there are some limitations to using the function for example the string value 'hey' or `hey` would not be accepted because JSON.parse does not read single quotes or backticks but it allows double quotes. So, finding a better way to parse the object would be significant improvement to the overall logic handling of the web client.
The text was updated successfully, but these errors were encountered: