From bbfbd772305f3507dcf962a4bf32545b6a0c7536 Mon Sep 17 00:00:00 2001 From: Parikshit Adhikari <83907047+parikshitadhikari@users.noreply.github.com> Date: Tue, 17 Oct 2023 21:21:29 +0545 Subject: [PATCH] fixed typos in waspc/design-docs/db-seeding.org and waspc/design-docs/server-setup.md (#1499) --- waspc/docs/design-docs/db-seeding.org | 2 +- waspc/docs/design-docs/server-setup.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/waspc/docs/design-docs/db-seeding.org b/waspc/docs/design-docs/db-seeding.org index 18807986b..0dde536ae 100644 --- a/waspc/docs/design-docs/db-seeding.org +++ b/waspc/docs/design-docs/db-seeding.org @@ -13,7 +13,7 @@ I might want to have multiple such states, each of them named. 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=. So I probably went here a bit into a different use case -> still interesting though. -Actuall, I read a bit more and seeding script is also valid way to do this. +Actually, I read a bit more and seeding script is also valid way to do this. As for snapshots -> I guess this would come down to doing postgre exports and then saving those in git and loading them. I saw this being called "SQL backup file" somewhere. diff --git a/waspc/docs/design-docs/server-setup.md b/waspc/docs/design-docs/server-setup.md index e712f457c..ed4bed838 100644 --- a/waspc/docs/design-docs/server-setup.md +++ b/waspc/docs/design-docs/server-setup.md @@ -38,7 +38,7 @@ The solution that people suggested was an async function that returns an object ### Basic - Dev can specify, through wasp language, a JS function that will be executed on server start. - Such function would be async, take no arguments, and return an object that would be avaialable in operations (through `context`). + Such function would be async, take no arguments, and return an object that would be available in operations (through `context`). ### Advanced - Instead of returning an object that will be added to `context`, function could return a function that modifies the `context`.