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

Compile-time generation of RTM API wrapper #6

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Compile-time generation of RTM API wrapper #6

wants to merge 12 commits into from

Conversation

vergenzt
Copy link
Owner

PR for #5.

Also splits rtm-scala into rtm-scala and rtm-scala-lib.
...with four temporary differences from the manual implementation:

 1. All arguments are accepted as strings. This will be worked around
    by having a mapping from argument names to domain types.

 2. Return values are all HttpRequests; in other words, `.as[T]` must
    be called manually with the desired return type. This will also be
    remedied with a mapping, this time from method name to return
    type.

 3. Timelines and Transactions do not have client-side functionality
    any more. Haven't put any thought into whether or how that will
    happen yet.

 4. `rtm.tasks.notes.*` are not contained in an object `notes` nested
    within `RtmApi.tasks`. The actual method names are `notes.add`,
    `.delete`, and `.edit`. Surround the name with backticks to use it
    from Scala.
@vergenzt vergenzt self-assigned this Feb 21, 2016
@vergenzt vergenzt removed their assignment Apr 4, 2016
@vergenzt vergenzt closed this Feb 13, 2017
@vergenzt vergenzt reopened this May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant