postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.87k stars 841 forks source link

Postman Schemafetching not working with spring-boot-starter-graphql respones. #11678

Open krishna-prasad-s opened 1 year ago

krishna-prasad-s commented 1 year ago

Is there an existing issue for this?

Describe the Issue

I have an sample app built out of spring-boot-starter-graphql. When I try to fetch, I see that the server is reponding also the response body contains the schema but this does appear in postman which says no-schema. An actual query still works.

resbody.log

none of the auto complete features etc work.

Steps To Reproduce

clone build and run https://github.com/spring-projects/spring-graphql/tree/1.0.x/samples/webflux-security point to the host and fecth schema.

Screenshots or Videos

image

Operating System

macOS

Postman Version

10.8.7

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

tim-hanssen commented 1 year ago

Same issue here, in the latest release the schema fetch doesn't send the introspection query anymore. Revert to the release that you can download on the site to get it back working.

mihaigliga21 commented 1 year ago

Same issue here, in the latest release the schema fetch doesn't send the introspection query anymore. Revert to the release that you can download on the site to get it back working.

@tim-hanssen how do you revert to previous release? I could not find any docs. Thanks!

SterlingChin commented 1 year ago

The new GraphQL client was released in open beta. Introspection is automatic and the schema fetching issue you reported should be fixed. Can you confirm?