-
Notifications
You must be signed in to change notification settings - Fork 15
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
Incomplete example in documentation #15
Comments
Hi Andrea, I guess that's true in section 3.1, but this is labelled Rationale and I guess it's trying to show the outline of the code to give you the idea and not be complicated by implementation details. The implementation is provided in the next two sections 3.2 and 3.3 to give you some working code. Perhaps instead of Cheers |
Yeah well imho the fact that it's doing a remote request is not even entirely necessary.. Also documenting simply what type should be returned could be enough otherwise. |
|
Yeah that could be enough sure I can do that |
The first example in the documentation (
friends-of
) leave thefriends-of
implementation empty, but it also doesn't mention anywhere what kind of object it should return.In the end I found out it just has to be a value wrapped in
urania.core/value
but I guess it would be nice to have a fully working example in the docs to try out.I can make a PR if that's useful I made up a working example.
The text was updated successfully, but these errors were encountered: