Skip to content

Commit

Permalink
Merge pull request #796 from lusergit/devices_pagination
Browse files Browse the repository at this point in the history
feat!(pagination): `devices` query pagination
  • Loading branch information
davidebriani authored Jan 14, 2025
2 parents 02be900 + 266da78 commit 72948fd
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 60 deletions.
3 changes: 2 additions & 1 deletion backend/lib/edgehog/devices/devices.ex
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ defmodule Edgehog.Devices do

list Device, :devices, :read do
description "Returns a list of devices."
paginate_with nil
paginate_with :keyset
relay? true
end

get HardwareType, :hardware_type, :read do
Expand Down
Loading

0 comments on commit 72948fd

Please sign in to comment.