Commit c09e7de
committed
Fix: unify device creation and update subscriptions
Unified the GraphQL subscriptions for device creation and updates into
a single subscription that handles both events. Absinthe subscriptions
allow only one top-level field per operation.
Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>1 parent d3c8921 commit c09e7de
3 files changed
Lines changed: 8 additions & 19 deletions
File tree
- backend/lib/edgehog/devices/device
- frontend/src
- api
- components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 69 | + | |
| 70 | + | |
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3967 | 3967 | | |
3968 | 3968 | | |
3969 | 3969 | | |
3970 | | - | |
3971 | | - | |
3972 | | - | |
3973 | | - | |
3974 | | - | |
| 3970 | + | |
3975 | 3971 | | |
| 3972 | + | |
3976 | 3973 | | |
3977 | 3974 | | |
3978 | 3975 | | |
| |||
6520 | 6517 | | |
6521 | 6518 | | |
6522 | 6519 | | |
6523 | | - | |
6524 | | - | |
6525 | | - | |
6526 | | - | |
6527 | | - | |
| 6520 | + | |
6528 | 6521 | | |
6529 | 6522 | | |
6530 | | - | |
| 6523 | + | |
6531 | 6524 | | |
6532 | 6525 | | |
6533 | 6526 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments