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

Error: decorated type deeper than introspection query #226

Open
theoks opened this issue Jun 15, 2018 · 3 comments
Open

Error: decorated type deeper than introspection query #226

theoks opened this issue Jun 15, 2018 · 3 comments

Comments

@theoks
Copy link

theoks commented Jun 15, 2018

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, because if I use it as is, I lose introspection on the whole graph, which is a real pain.

@pavelnikolov
Copy link
Member

Can you, please, provide a reproducible example?

@theoks
Copy link
Author

theoks commented Jun 24, 2018

@pavelnikolov Sorry for the delayed reply.

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!]!]!]!]
}

@jaylucas
Copy link

jaylucas commented Feb 27, 2020

What was the solution here? He seemed to have opened a couple issues else where: Kong/insomnia#1086

But I am doing a very similar thing with the same object and am encountering this error on graphiql

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

No branches or pull requests

3 participants