Skip to content

Commit 03183f6

Browse files
committed
Pass the operationName to defaultOperationRegistrySignature.
Start passing the `operationName` to `defaultOperationRegistrySignature`. apollographql/apollo-tooling#1115 If `operationName` is `null`, then the operation is anonymous. However, it's not possible to register anonymous operations from the `apollo` CLI. We could fail early, however, we still want to abide by the desires of `forbidUnregisteredOperations`, so we'll allow this hash be generated anyway. The hash cannot be in the manifest, so this would be okay and allow this code to remain less conditional-y, eventually forbidding the operation when the has is not found and `forbidUnregisteredOperations` is on.
1 parent f84e8ca commit 03183f6

0 file changed

File tree

    0 commit comments

    Comments
     (0)