Skip to content
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

Add documentation to (at least) all public structs, enums, functions and traits #148

Open
seblund opened this issue Mar 9, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@seblund
Copy link
Member

seblund commented Mar 9, 2023

There are many public facing structs and functions without documentation.
We should at least have a short description, but even better have doctest examples of usage for functions.
We should also have documentation for "large" private helper functions.

@seblund seblund added the documentation Improvements or additions to documentation label Mar 9, 2023
seblund pushed a commit that referenced this issue May 11, 2023
This was broken because it required Reveaal to store all the user tokens
that is has given out. This violates the principle of idempotency. The
server cannot know when a user id is no longer in use, because we have
no "log out" endpoint and even if we had one the client could crash and
thus not send out a "log out" message.

Instead we assume that all clients are well behaved and use GetUserToken
to get a token that is not in use.

Co-authored-by: CasperStaahl <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant