Skip to content

Commit bbfbd77

Browse files
fixed typos in waspc/design-docs/db-seeding.org and waspc/design-docs/server-setup.md (#1499)
1 parent 15d7a0c commit bbfbd77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

waspc/docs/design-docs/db-seeding.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ I might want to have multiple such states, each of them named.
1313

1414
I imagine this would actually be easier to do by doing snapshots of db then having seeding script, so I don't think this is what Prisma is targeting with their =seed=.
1515
So I probably went here a bit into a different use case -> still interesting though.
16-
Actuall, I read a bit more and seeding script is also valid way to do this.
16+
Actually, I read a bit more and seeding script is also valid way to do this.
1717

1818
As for snapshots -> I guess this would come down to doing postgre exports and then saving those in git and loading them.
1919
I saw this being called "SQL backup file" somewhere.

waspc/docs/design-docs/server-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The solution that people suggested was an async function that returns an object
3838

3939
### Basic
4040
- Dev can specify, through wasp language, a JS function that will be executed on server start.
41-
Such function would be async, take no arguments, and return an object that would be avaialable in operations (through `context`).
41+
Such function would be async, take no arguments, and return an object that would be available in operations (through `context`).
4242

4343
### Advanced
4444
- Instead of returning an object that will be added to `context`, function could return a function that modifies the `context`.

0 commit comments

Comments
 (0)