tailcall: Stackoverflow Errors on recursive types

Across the Config to Blueprint compiler the current implementation leverages recursion, which breaks whenever there are recursive types. There is no one strategy we can use everywhere to fix this.

Example

schema {
  query: Query
}

type Query {
  list: List
}

type List {
  head: Int!
  tail: List
}
tailcall start ./app.graphql

Additional Information

  • JsonSchema might need a bit of re-write. It doesn’t support recursive types at the moment.

About this issue

  • Original URL
  • State: closed
  • Created 6 months ago
  • Comments: 18 (12 by maintainers)

Most upvoted comments

@Rutik7066 already has the issue #739 assigned to him.

@Rutik7066 this is your chance

Opening this up for everyone to attempt.