Skip to content

Commit

Permalink
fix(hash): nested type resolution and hashes
Browse files Browse the repository at this point in the history
It seems we do it better than the actual Go implementation, which fails
to detect that scopes are actually having a string member.

However, there still is an issue, as it's as hashmap for us, but just
a member for go ... lets see ...
https://developers.google.com/discovery/v1/reference/apis#resource
shows that we implement it correctly :) !!
  • Loading branch information
Byron committed Mar 11, 2015
1 parent 559cb8f commit 5d563c8
Show file tree
Hide file tree
Showing 6 changed files with 1,327 additions and 1,308 deletions.
14 changes: 7 additions & 7 deletions gen/youtube3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ let r = hub.resource().activity(...).doit()
Or specifically ...

```ignore
let r = hub.live_broadcast().control(...).doit()
let r = hub.live_broadcast().insert(...).doit()
let r = hub.live_broadcast().list(...).doit()
let r = hub.live_broadcast().transition(...).doit()
let r = hub.live_broadcast().update(...).doit()
let r = hub.live_broadcast().delete(...).doit()
let r = hub.live_broadcast().bind(...).doit()
let r = hub.live_broadcasts().control(...).doit()
let r = hub.live_broadcasts().insert(...).doit()
let r = hub.live_broadcasts().list(...).doit()
let r = hub.live_broadcasts().transition(...).doit()
let r = hub.live_broadcasts().update(...).doit()
let r = hub.live_broadcasts().delete(...).doit()
let r = hub.live_broadcasts().bind(...).doit()
```

The `resource()` and `activity(...)` calls create [builders][builder-pattern]. The second one dealing with `Activities`
Expand Down
Loading

0 comments on commit 5d563c8

Please sign in to comment.