(
endpoint: &str,
token: &str,
query: &str,
variables: &T,
operation_name: Option<&str>,
access_context: GraphqlAccessContext,
dpop_options: &DpopRuntimeOptions,
)
| 80 | pub(crate) const BROKER_TRANSACTION_NOT_FOUND_ERROR_PREFIX: &str = "Broker transaction not found:"; |
| 81 | |
| 82 | pub fn execute_graphql<T: Serialize>( |
| 83 | endpoint: &str, |
| 84 | token: &str, |
| 85 | query: &str, |
| 86 | variables: &T, |
| 87 | operation_name: Option<&str>, |
| 88 | access_context: GraphqlAccessContext, |
| 89 | dpop_options: &DpopRuntimeOptions, |
| 90 | ) -> Result<Value> { |
| 91 | execute_graphql_with_headers( |
| 92 | endpoint, |
| 93 | token, |
| 94 | query, |
| 95 | variables, |
| 96 | operation_name, |
| 97 | access_context, |
| 98 | &[], |
| 99 | dpop_options, |
| 100 | ) |
| 101 | } |
| 102 | |
| 103 | #[allow(clippy::too_many_arguments)] |
| 104 | pub fn execute_graphql_with_headers<T: Serialize>( |
no test coverage detected