Skip to content

Compile-time generation of RTM API wrapper#6

Open
vergenzt wants to merge 12 commits into
masterfrom
meta
Open

Compile-time generation of RTM API wrapper#6
vergenzt wants to merge 12 commits into
masterfrom
meta

Conversation

@vergenzt

Copy link
Copy Markdown
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