Skip to content

add ability to use JSONPath in GraphQLResponse API #136

Closed
@bsara

Description

@bsara

It is sometimes desired to only obtain some data that is far down in the tree of the response JSON. It would help to reduce a good amount of boilerplate if one could just use JSONPath to obtain targeted parts of the response.

Describe the solution you'd like
I see that this is implemented for the response object in the spring boot test utils. I don't know if there would be any drawbacks to including jayway's JsonPath lib as a dependency. If there are no worries, I think it would be great if we could use that lib with some minor API updates to GraphQLResponse that would allow for the use of JSONPath in getting data from the response.

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