Skip to content

Commit 397ccb5

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ The updated Resource API is enabled on a per-class basis, by setting static `loa
1515
* Context is tracked using asynchronous context tracking, and will automatically be available to calls to other resources. This can be disabled by setting `static explicitContext = true`, which can improve performance.
1616
* The `update` method will return an `Updatable` object (instead of a Resource instance), which provides properties mapped to a record, but these properties can be updated and changes will be saved when the transaction is committed.
1717

18-
Here are examples of how to convert/upgrade to the non-instance binding Resource API:
18+
The following are examples of how to migrate to the non-instance binding Resource API.
19+
1920
Previous code with a `get` method:
2021
```javascript
2122
export class MyData extends tables.MyData {

0 commit comments

Comments
 (0)