Skip to content

cleanup of examples/social code? #506

Closed
@marcelvanwaaijen

Description

@marcelvanwaaijen

Looks like there is still some old code in the "social" example. If that is the case, is is possible to clean that? It might be confusing for people starting with graphql-go and trying to educate by example (like me) ;-)

@marcelvanwaaijen I haven't looked into it in details but my wild guess is that it was an existing example and when this feature was implemented we ended up adding graphql.UseFieldResolvers() which uses fields instead of methods. Then we started using the fields and stopped using the method. I would suggest opening a separate issue if this is the case as this one was related to adding the field resolvers feature, which is already done.

Originally posted by @pavelnikolov in #282 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions