Ashmoney and graphql help

im following the instructions for ashmoney im trying to use the graphql ext, the following in the documentation is unclear i tried adding under the “graphql do end” declaration in the resource but object is not a type,wheres the correct place for this , i dont know what the “schema” refers to.

Add the following to your schema file:

  object :money do
    field(:amount, non_null(:decimal))
    field(:currency, non_null(:string))
  end

  input_object :money_input do
    field(:amount, non_null(:decimal))
    field(:currency, non_null(:string))
  end

There should be a file in your application where you use use Absinthe.Schema. It goes in that file.

thx appreciate it