-
Notifications
You must be signed in to change notification settings - Fork 730
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
Updating Persisted Query Configuration #3175
Conversation
Co-authored-by: Anthony Miller <[email protected]>
Moved operation manifest config options from file output and options to their own top level `OperationManifestConfiguration` item
✅ Deploy Preview for apollo-ios-docs canceled.
|
Moved operation manifest config options from file output and options to their own top level `OperationManifestConfiguration` item
…phql/apollo-ios into feature/persisted-query-update
...egenLib/CodegenConfiguration/ApolloCodegenConfiguration+OperationManifestConfiguration.swift
Outdated
Show resolved
Hide resolved
...egenLib/CodegenConfiguration/ApolloCodegenConfiguration+OperationManifestConfiguration.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also do a quick pass over the inline docs here, finding any reference to APQ and making sure it still is accurate. We now know that APQ and legacy safelisting are not the same feature. And we should just replace any references to the legacy safelisting with the new "persisted queries" only.
Co-authored-by: Anthony Miller <[email protected]>
…phql/apollo-ios into feature/persisted-query-update # Conflicts: # Sources/ApolloCodegenLib/ApolloCodegenConfiguration.swift
...egenLib/CodegenConfiguration/ApolloCodegenConfiguration+OperationManifestConfiguration.swift
Outdated
Show resolved
Hide resolved
...egenLib/CodegenConfiguration/ApolloCodegenConfiguration+OperationManifestConfiguration.swift
Outdated
Show resolved
Hide resolved
...egenLib/CodegenConfiguration/ApolloCodegenConfiguration+OperationManifestConfiguration.swift
Outdated
Show resolved
Hide resolved
...s/ApolloCodegenTests/CodeGeneration/FileGenerators/OperationManifestFileGeneratorTests.swift
Outdated
Show resolved
Hide resolved
Co-authored-by: Anthony Miller <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor typo, but otherwise good! Let's ship this!
Co-authored-by: Anthony Miller <[email protected]>
-Moved all codegen config options related to persisted queries to a new top level
OperationManifestConfiguration
object-Added an
autoGenerate
option to determine if the operation manifest should be generated when using thegenerate
cli command-Cleaned up/combined some code