Riptide.Interceptor.mutation_before

You're seeing just the function mutation_before, go back to Riptide.Interceptor module for more information.
Link to this function

mutation_before(mutation, state)

View Source

Specs

mutation_before(Riptide.Mutation.t(), any()) ::
  {:ok, Riptide.Mutation.t()} | {:error, any()}

Trigger mutation_before callback on configured interceptors for given mutation

Link to this function

mutation_before(mutation, state, interceptors)

View Source

Specs

mutation_before(Riptide.Mutation.t(), any(), [atom()]) ::
  {:ok, Riptide.Mutation.t()} | {:error, any()}

Trigger mutation_before callback on interceptors for given mutation