You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/fields/visibility.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ You can change the visibility of fields in certain views.
6
6
7
7
You can use the `only` and `except` options to define the views where a field should be visible. The `only` option will show the field only in the specified views, while the `except` option will show the field in all views except the specified ones. The options have to be a list of view names.
8
8
9
-
The following values are supported: `:new`, `:edit`, `:show`, `:index`and `:resource_action`.
9
+
The following values are supported: `:new`, `:edit`, `:show`and `:index`.
Copy file name to clipboardExpand all lines: guides/upgrading/v0.15.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,3 +54,34 @@ Note that it is now also possible to configure the layout as a function:
54
54
useBackpex.LiveResource,
55
55
layout:&MyAppWeb.admin/1
56
56
```
57
+
58
+
## Resource and adapter functions have been updated
59
+
60
+
We've updated some functions in `Backpex.Resource` and the adapter modules (`Backpex.Adapters.Ecto` and `Backpex.Adapters.Ash`) to include the fields as an additional parameter.
61
+
62
+
The following functions are affected:
63
+
64
+
`Backpex.Resource`:
65
+
-`list/3` -> `Backpex.Resource.list/4`
66
+
-`count/3` -> `Backpex.Resource.count/4`
67
+
-`get/3` -> `Backpex.Resource.get/4`
68
+
-`get!/3` -> `Backpex.Resource.get!/4`
69
+
70
+
`Backpex.Adapter` (including `Backpex.Adapters.Ecto` and `Backpex.Adapters.Ash`):
0 commit comments