Lessons on your project
How a lesson finds the right case, table or trace in your own project, and what it uses when you have none.
A lesson about failures is clearer when the failure is yours. So every lesson says what kind of example it needs, and Learn finds one in your project.
How Learn picks the example
What a lesson can ask for
| It asks for | Example from La Espiga |
|---|---|
| a case with failures | «Order for today», with OutOfStock and Closed |
| a case that writes to several tables | «Order for today» writes order and order_item: the transactions lesson |
a case with a place in the app (where) | «Order for today» at shop.order-for-today |
| a table with row-level security | order: a customer sees only their own orders |
| a trace with an error | a failed «Order for today» in the preview |
| a promise of the landing page | «Order before 9 and pick up warm bread» |
No project yet
Lessons use La Espiga, Sypnia’s sample bakery, until you have a project of your own. It is an open repository with a full map, a design guide, tables and a preview, so every lesson has something real to point at. Exercises on the sample run on your own copy.
What a lesson never takes
- Rows of your data. Lessons use the names of your tables and columns, never their contents, unless you choose Use my rows for that lesson.
- Production traces, unless you choose them. By default lessons use traces from previews and tests, and production traces are always masked the way Telemetry masks them.