Skip to content

Add example for type refining fragment #344

Open
@nirvdrum

Description

@nirvdrum

PR #181 added support for type refining fragments and was released in version 0.6.0. The existing examples, however, were not augmented to demonstrate how to work with such a fragment. I managed to piece it together from the newly added tests and some println! debugging. It wasn't immediately clear to me that a new enum would be generated and that I would need to pattern-match on that.

I could take a crack at it. It looks to me like working off the GitHub example would be easiest since it's publicly accessible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions