Bring Swift Scripting out of Beta#1263
Conversation
f910524 to
b1636d4
Compare
|
I'll take a look at this tonight, is this still the correct link: |
|
Overall yes, but here is the preview of the deploy off of this branch: https://deploy-preview-1263--apollo-ios-docs.netlify.app/docs/ios/swift-scripting/ |
|
Three questions: 1 - I'm assuming if I build 29.0 (Package.swift wouldn't find it) that this issue would go away: 2 - If I build with 28.0, I get the following at the end using the previous instructions 3 - The individual commands don't quite match the composite at the end - there are two 'let options' in the step by step - they were renamed to schemaDownloadOptions and codegenOptions in the full composite. Do you recommend loading 29.0 and re-trying with the composite? |
|
@lastneutrino 1 - 2 - Anonymous operations still won't be supported - basically you can do: query Something {
methodName {
fieldName
}
}but you can't do: query {
methodName {
fieldName
}
}I would recommend checking your operations to make sure they all have names. 3 - That is intentional since I wanted to disambiguate between the two |
|
1 - ok will try tomorrow. |
|
I'm expecting people to use them in separate files (that bit's spelled out explicitly in a couple places, including at the top of the full example), but I suppose I can update them to use the same names as the full example for clarity. |
b1636d4 to
6781aaf
Compare
|
OK last call for further comments! Will be merging this right before releasing v0.29. |
…hen run code generation
…wnload and codegen options
6781aaf to
92e8a03
Compare
In this PR:
Would LOVE feedback on this - I think the scripting stuff is now to a point of maturity that I can rip the beta tag off it, and I hope the changes to the scripting doc make things clearer.