Skip to content

Commit

Permalink
move all the subscription files into the same folder
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasJ committed Sep 23, 2024
1 parent e14d591 commit d324eef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/resource/subscription.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ defmodule AshGraphql.Resource.Subscription do
],
actor: [
type:
{:spark_function_behaviour, AshGraphql.Resource.Subscription.Actor,
{AshGraphql.Resource.Subscription.ActorFunction, 1}},
{:spark_function_behaviour, AshGraphql.Subscription.Actor,
{AshGraphql.Subscription.ActorFunction, 1}},
doc: "The actor to use for authorization."
],
actions: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule AshGraphql.Resource.Subscription.Actor do
defmodule AshGraphql.Subscription.Actor do

Check warning on line 1 in lib/subscription/actor.ex

View workflow job for this annotation

GitHub Actions / ash-ci / mix credo --strict

Modules should have a @moduledoc tag.
# I'd like to have the typespec say that actor can be anything
# but that the input and output must be the same
@callback actor(actor :: any, opts :: Keyword.t()) :: actor :: any
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule AshGraphql.Resource.Subscription.ActorFunction do
defmodule AshGraphql.Subscription.ActorFunction do

Check warning on line 1 in lib/subscription/actor_function.ex

View workflow job for this annotation

GitHub Actions / ash-ci / mix dialyzer

callback_info_missing

Callback info about the AshGraphql.Resource.Subscription.Actor behaviour is not available.
@moduledoc false

@behaviour AshGraphql.Resource.Subscription.Actor
Expand Down

0 comments on commit d324eef

Please sign in to comment.