Facing trouble with the codegen #67
Closed
programVeins
started this conversation in
General
Replies: 2 comments 1 reply
-
|
@programVeins any chance that you paste here the result of calling the introspection query on your server? You can also send it to me privately. I suspect the issue is that you have no interfaces and return |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Sounds like this was resolved and is no longer an issue, will close this issue to cleanup 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just wanted to point out a few problems I faced while trying to generate swift code for OSlash's GraphQL schema. Tried running
swift-graphql ${ENDPOINT} --authorization ${AUTH}but it resulted in the following error:I was wondering why this is being triggered because, swift-graphql uses
decoder.container(keyedBy: CodingKeys.self)and the error says that an unkeyed decoding container was tried to parse. Does this mean the schema I am trying to parse has a few unkeyed nested containers? Will be cool if there's any known workaround for this! 🤔Beta Was this translation helpful? Give feedback.
All reactions