What's the meaning of the semicolon after the id-parameter? Please see my comment within the snippet.
That isn't a Ruby-symbol. Isn't it? Otherwise the semicolon would be on the left-side. The ID is an integer. A bit confused currently ...
field :vendor, VendorType, null: false,
description: "A single car-vendor." do
argument :id, ID, required: true
end
def vendor(id:) # Why is there a semicolon after "id"?
Vendor.find(id)
end