Skip to content

Commit 26754a9

Browse files
kriszypcb1kenobi
andauthored
Update docs/technical-details/reference/resource-migration.md
Co-authored-by: Chris Barber <[email protected]>
1 parent 5d60287 commit 26754a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/technical-details/reference/resource-migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The updated Resource API is enabled on a per-class basis by setting static `load
77
* When instance methods are called, there will not be any record preloaded beforehand and the resource instance will not have properties mapped to a record.
88
* All instance methods accept a `target`, an instance of `RequestTarget`, as the first argument, which identifies the target record or query.
99
* The `target` will have an `id` property identifying the target resource, along with target information.
10-
* The `getId()` method is not required and will return `undefined`.
10+
* The `getId()` method is no longer used and will return `undefined`.
1111
* The `target` will provide access to query parameters, search operators, and other directives.
1212
* A `target` property of `checkPermission` indicates that a method should check the permission before of request before proceeding. The default instance methods provide the default authorization behavior.
1313
* This supplants the need for `allowRead`, `allowUpdate`, `allowCreate`, and `allowDelete` methods, which shouldn't need to be used (and don't provide the id of the target record).

0 commit comments

Comments
 (0)