Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add failing test for macro deprecated field in SDL render #1045

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/absinthe/schema/sdl_render_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ defmodule Absinthe.Schema.SdlRenderTest do
field :id, :id
field :name, :string
field :status, :order_status
field :other_status, :status
field :other_status, :status, deprecate: "See status field"
import_fields :imported_fields
end

Expand Down Expand Up @@ -275,7 +275,7 @@ defmodule Absinthe.Schema.SdlRenderTest do
id: ID
name: String
status: OrderStatus
otherStatus: Status
otherStatus: Status @deprecated(reason: "See status field")
}
"""
end
Expand Down