docs: capitalize use of Framework across docs (#12207)
* docs: capitalize use of Framework across docs * generate llm
This commit is contained in:
@@ -8,7 +8,7 @@ In this chapter, you’ll learn about the Medusa container and how to use it.
|
||||
|
||||
## What is the Medusa Container?
|
||||
|
||||
The Medusa container is a registry of framework and commerce tools that's accessible across your application. Medusa automatically registers these tools in the container, including custom ones that you've built, so that you can use them in your customizations.
|
||||
The Medusa container is a registry of Framework and commerce tools that's accessible across your application. Medusa automatically registers these tools in the container, including custom ones that you've built, so that you can use them in your customizations.
|
||||
|
||||
In other platforms, if you have a resource A (for example, a class) that depends on a resource B, you have to manually add resource B to the container or specify it beforehand as A's dependency, which is often done in a file separate from A's code. This becomes difficult to manage as you maintain larger applications with many changing dependencies.
|
||||
|
||||
|
||||
@@ -235,7 +235,7 @@ You’ll receive the following response:
|
||||
|
||||
## Access Medusa Container in Workflow Steps
|
||||
|
||||
A step receives an object as a second parameter with configurations and context-related properties. One of these properties is the `container` property, which is the [Medusa container](../medusa-container/page.mdx) to allow you to resolve framework and commerce tools in your application.
|
||||
A step receives an object as a second parameter with configurations and context-related properties. One of these properties is the `container` property, which is the [Medusa container](../medusa-container/page.mdx) to allow you to resolve Framework and commerce tools in your application.
|
||||
|
||||
For example, consider you want to implement a workflow that returns the total products in your application. Create the file `src/workflows/product-count.ts` with the following content:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user