Open koga25 opened 2 years ago
Thanks for working on this! I punted on this one and haven't come back to finish.
I think we need to maintain the taskView and scheduleView enumerated helper types so the api easier/more intuitive for the users... the tricker part is writing the json converters. Would you want to take a go at that? :)
Also, please make your PRs to the dev branch.
Something like this? I never tried making a json converter before, but it's working. I also included implicit conversions for string[] and bool values to make it equal to the documentation.
Changed to dev branch.
The properties didn't allow the person to use only one of the settings of the property, if you wanted to show only task/milestone on taskView or only allday/time, it wasn't possible.
Now those properties work as a string[], you can define what settings you want in each one by modifying the array or using the helper functions defined in the files.