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

use proper singularized version of species in the sample #150

Merged
merged 2 commits into from
Feb 5, 2017

Conversation

marwanad
Copy link
Contributor

@marwanad marwanad commented Feb 3, 2017

Should be 🍏 once it picks up the new plugin snapshot.

Closes #77

@marwanad
Copy link
Contributor Author

marwanad commented Feb 3, 2017

Oh, sample now uses pojo now so no need for that.

I'll just verify that the generated DroidDetails has Species instead and update the PR with the README changes.

@marwanad marwanad closed this Feb 3, 2017
@marwanad marwanad reopened this Feb 3, 2017
@marwanad marwanad force-pushed the update-sample-app-pluralizing branch from 45f3475 to 22a6dfa Compare February 3, 2017 06:54
@@ -6,7 +6,7 @@ ext {

dep = [
androidPlugin: 'com.android.tools.build:gradle:2.3.0-beta3',
apolloPlugin: "com.apollographql.android:gradle-plugin:0.1.0",
apolloPlugin: "com.apollographql.android:gradle-plugin:0.2.0-SNAPSHOT",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it worth having some kind of a dev branch that we build snapshots off instead and make that our target branch? and keep master for the releases?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not a fan of having development outside of master, we can keep master always pointing to the SNAPSHOTS I think. This shouldn't be pointing to 0.1.0 in the first place

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahh, fair enough. That solves it.

@marwanad marwanad force-pushed the update-sample-app-pluralizing branch from 22a6dfa to 05c8f04 Compare February 3, 2017 06:56
Updates the apollo plugin version to pick up the changes
@marwanad marwanad force-pushed the update-sample-app-pluralizing branch from 05c8f04 to 7fa4f1c Compare February 3, 2017 06:58
README.md Outdated
MAPPER.map(reader, this);
}

public Species(@Nonnull String id, @Nullable String name, @Nullable String classification) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

will get rid of this. I just copied off the generated class.

README.md Outdated
@@ -134,16 +157,37 @@ public final class DroidDetails implements Query<Operation.Variables> {
}
};

public static final Creator CREATOR = new Creator() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

will get rid of this too.

@marwanad marwanad force-pushed the update-sample-app-pluralizing branch from 00d2633 to 001b21e Compare February 3, 2017 07:05
@sav007
Copy link
Contributor

sav007 commented Feb 3, 2017

@marwanad but does compiler correctly generate interface names for Species ?
If not then example will mislead user as the outcome of generation is different

@marwanad
Copy link
Contributor Author

marwanad commented Feb 3, 2017

@sav007 It does for 0.2-SNAPSHOT, not for 0.1.0.

Shall we remove that/update the README to use the snapshot version?

@marwanad marwanad merged commit c082241 into master Feb 5, 2017
@marwanad marwanad deleted the update-sample-app-pluralizing branch February 5, 2017 17:23
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.

3 participants