This PR switches the current single method calls to a fluent builder style for easier readability and this also allows us to use different classes per context - as the GraphQL queries for viewer and user/organization are different and also allow different things. For example only a viewer can retrieve the tiers for a sponsorship.
I renamed and changed some more class names in that context as I think they match better now. But I'm open for discussion here and change things back.
resolves #13
This PR switches the current single method calls to a fluent builder style for easier readability and this also allows us to use different classes per context - as the GraphQL queries for
viewer
anduser/organization
are different and also allow different things. For example only a viewer can retrieve the tiers for a sponsorship.I renamed and changed some more class names in that context as I think they match better now. But I'm open for discussion here and change things back.