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

Make API type check friendly #85

Closed
ajoberstar opened this issue Oct 26, 2015 · 0 comments
Closed

Make API type check friendly #85

ajoberstar opened this issue Oct 26, 2015 · 0 comments
Milestone

Comments

@ajoberstar
Copy link
Owner

No description provided.

@ajoberstar ajoberstar added this to the 2.0.0 milestone Oct 26, 2015
ajoberstar added a commit that referenced this issue Jul 29, 2017
In 1.x Grgit, operations were made available to the user via the MOP
with a methodMissing implementation. This meant that you couldn't get
IDE support to see that you were calling a valid method.

There's now an ASTTransformation that generates four methods for each
operation that take different arguments:

- no args
- map
- consumer
- closure

These should provide more static help in the IDE and generally increase
consistency.

This resolves #85.
ajoberstar added a commit that referenced this issue Jul 29, 2017
In 1.x Grgit, operations were made available to the user via the MOP
with a methodMissing implementation. This meant that you couldn't get
IDE support to see that you were calling a valid method.

There's now an ASTTransformation that generates four methods for each
operation that take different arguments:

- no args
- map
- consumer
- closure

These should provide more static help in the IDE and generally increase
consistency.

This resolves #85.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant