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

generate client from module instance #118

Merged
merged 3 commits into from
Jun 2, 2017
Merged

Conversation

Matt-Esch
Copy link
Contributor

First attempt to standardize on using the module instance as the source of truth. I am using the module instance PackageInfo to define the export type, export name and globally unique aliases when importing in generated code.

@Matt-Esch
Copy link
Contributor Author

Worth noting that the default name for Googlenow client is now defined in the module system, and it changes from GoogleNow. We may wish to change the way that this name is computed, but it is standardized via the computed moduleInstance.PackageInfo. Updating how PackageInfo is computed should update all references without breaking. Consistency and single source of truth, can you imagine it.

Copy link
Contributor

@Raynos Raynos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

needs a rebase and need to fix travis issue.

@Raynos
Copy link
Contributor

Raynos commented Jun 2, 2017

I rebased it for you.

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.

None yet

3 participants