Request validation #727
Closed
KoodiVille
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Guess you're on on v4.3.1 or earlier? v5.0.0-pre.39 will throw when Count and Until are both set other than null. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Closed because of inactivity |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I run into an issue today, while building an integration for iCloud calendar. In short summary:
I have an RRULE as follows:
RRULE:FREQ=DAILY;COUNT=5
and without thinking too much I added both until and count to an update request as follows:This will end up in serialized as
RRULE:FREQ=DAILY;UNTIL=20250211T235959Z;COUNT=5
In my case the iCloud caldav server of course accepts the RRULE, but since it's invalid I can't deserialize it anymore when fetching the calendar events.
I know this is purely user error on my part. But what I was wondering, do you think it would make any sense to add possibility for something like a sanity check method
Event.Validate();
Beta Was this translation helpful? Give feedback.
All reactions