Skip to content

Commit

Permalink
Add behaviour attribute in injected Absinthe.Schema code (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryseed authored Apr 27, 2020
1 parent 730bacd commit 42cf41d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/absinthe/schema.ex
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ defmodule Absinthe.Schema do
__absinthe_type__(name)
end

@behaviour Absinthe.Schema

@doc false
def middleware(middleware, _field, _object) do
middleware
Expand Down

0 comments on commit 42cf41d

Please sign in to comment.