improvement: remove metadata from read actions

This commit is contained in:
Zach Daniel 2021-08-29 14:20:02 -04:00
parent e74af3f56a
commit f4899a72f4
2 changed files with 0 additions and 4 deletions

View file

@ -10,7 +10,6 @@ defmodule Ash.Resource.Actions.Read do
transaction?: false, transaction?: false,
arguments: [], arguments: [],
preparations: [], preparations: [],
metadata: [],
type: :read type: :read
] ]

View file

@ -447,9 +447,6 @@ defmodule Ash.Resource.Dsl do
target: Ash.Resource.Actions.Read, target: Ash.Resource.Actions.Read,
schema: Ash.Resource.Actions.Read.opt_schema(), schema: Ash.Resource.Actions.Read.opt_schema(),
entities: [ entities: [
metadata: [
@metadata
],
arguments: [ arguments: [
@action_argument @action_argument
], ],