-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: improved manual #9940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improved manual #9940
Conversation
guides/manual/1-overview.md
Outdated
|
||
// ... | ||
|
||
const editable = await user[Checkout](); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be confusing for junior devs. Can we provide an API like await checkout(user)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dislike it for a different reason (requiring the import). I've considered adding await store.checkoutRecord(user)
but checkout is an implementation detail of SchemaRecord currently, we'd have to consider whether this is a permanent addition of a feature that all potential record classes must support and if so what the contract is
e75b90a
to
ed01019
Compare
d208bde
to
aa1c815
Compare
Works on improving the new guide to cover more ground in an easier to digest way
Rendered