Closed wchrisjohnson closed 7 years ago
@alindeman Mind having a look too? It seems fine to me.
Nice work @wchrisjohnson!
Related PR into Heroics: https://github.com/interagent/heroics/pull/91.
Awesome, glad to see this cleaned up @wchrisjohnson!
@alindeman me too! I'm looking forward to getting all those dropped API calls back in the client.
Also, thanks to your efforts it was relatively easy to know how to dig into the code to fix this. Thank you!
https://github.com/interagent/schematic/issues/45
Dropping numerous client API calls as a part of client generation is probably an incorrect approach, both here in schematic and in the ruby version of this tool, Heroics.
While a number of PRs have been initiated to fix the underlying heroku platform api schema itself, I believe these two tools should raise an error and should not generate an incomplete client in the event of duplicate link titles.
This PR replaces the code that was dropping the duplicate links with a method that checks for dups and panics if any are found.
During the discussion here (https://github.com/heroku/api/pull/7787#issuecomment-299169974) we are attempting to do the following: