Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Decorated type deeper than introspection query #1086

Closed
theoks opened this issue Jul 27, 2018 · 2 comments
Closed

[Bug] Decorated type deeper than introspection query #1086

theoks opened this issue Jul 27, 2018 · 2 comments
Labels
stale Bot: Stale Issue

Comments

@theoks
Copy link

theoks commented Jul 27, 2018

  • Insomnia Version: 6.0.0
  • Operating System: macOS 10.14

Details

I have a data structure that corresponds to GeoJSON Multipolygon, which is:

[[[[Float!]!]!]!]!

However I get the error: decorated type deeper than introspection query

I presume it has to do with the nested array. Is there a way to introspect this kind of data structure, or to not lose introspection on the whole graph?

Here is a type with a field (multipolygon) that produces the issue

type GeoJSON {
type: String!
boundingbox: [Float!]
point: [Float!]
multipoint: [[Float!]!]
linestring: [[Float!]!]
multilinestring: [[[Float!]!]!]
polygon: [[[Float!]!]!]
multipolygon: [[[[Float!]!]!]!]
}
The problem starts on field multipolygon. If I erase this, everything works the way it should.

@gschier gschier changed the title Error: decorated type deeper than introspection query [Bug] Decorated type deeper than introspection query Aug 1, 2018
@gschier
Copy link
Contributor

gschier commented Aug 1, 2018

That's an interesting one. It looks like this might be solved by updating our graphql dependency (Insomnia does not deal directly with introspection queries).

@stale
Copy link

stale bot commented May 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Bot: Stale Issue
Projects
None yet
Development

No branches or pull requests

2 participants