-
Notifications
You must be signed in to change notification settings - Fork 180
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
Additional Waiting List Tests #10241
base: main
Are you sure you want to change the base?
Conversation
I think those questions are part of a larger API modelling discussion |
In my opinion there's only really two options here:
|
If a competition is not on the waiting list -- and, crucially, if the update payload does not specify that it wants to be put on the waiting list -- then there should be no additional information about waiting list positions. As Finn said, this then only boils down to a general decision about "complain loudly" (and thereby implicitly don't process the waiting list part) or "ignore quietly" (and thereby implicitly don't process the waiting list part). Adding the user in any capacity or any position to the waiting list when the same update payload does not explicitly specify "please put me to status |
I'm partial to loudly shouting "hey, this registration isn't on the waiting list", which would be 2 tests:
This leads to a second question: What if we get a payload which contains a
|
Okay!
Please go with |
My only concern with this is that we also at some point want this API to be accessible by third parties - so if there's an action we don't want to support, it also needs to be enforced at the API level (at least in my view) |
Questions: