diff --git a/lib/ash/domain/dsl.ex b/lib/ash/domain/dsl.ex index eadf82f0..4ef52704 100644 --- a/lib/ash/domain/dsl.ex +++ b/lib/ash/domain/dsl.ex @@ -92,7 +92,7 @@ defmodule Ash.Domain.Dsl do Defines a function with the corresponding name and arguments. See the [code interface guide](/documentation/topics/topics/code-interfaces.md) for more. """, examples: [ - "define :get_user_by_id, User, action: :get_by_id, args: [:id], get?: true" + "define :get_user_by_id, action: :get_by_id, args: [:id], get?: true" ], target: Ash.Resource.Interface, schema: Ash.Resource.Interface.schema(),